Skip to content

Commit 4ded777

Browse files
committed
test(docs[sphinx_fonts]): add mypy ignore-errors directive
why: sphinx_fonts tests use SimpleNamespace as duck-typed Sphinx app, causing arg-type or import-not-found errors depending on mypy config. what: - Add mypy: ignore-errors file-level directive to test_sphinx_fonts.py
1 parent 530d435 commit 4ded777

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/docs/_ext/test_sphinx_fonts.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
"""Tests for sphinx_fonts Sphinx extension."""
22

3+
# mypy: ignore-errors
4+
35
from __future__ import annotations
46

57
import logging

0 commit comments

Comments
 (0)