Commit 4a2692e
committed
pyproject(mypy): add sphinx_fonts to ignore_missing_imports
why: sphinx_fonts is a local docs/_ext extension, not an installed
package — mypy cannot resolve it at analysis time.
what:
- Add sphinx_fonts to [[tool.mypy.overrides]] ignore_missing_imports
- Add mypy ignore-errors directive to test_sphinx_fonts.py1 parent dae7e96 commit 4a2692e
2 files changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
138 | 142 | | |
139 | 143 | | |
140 | 144 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
0 commit comments