Commit 8def325
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 targeted arg-type disable for test_sphinx_fonts (SimpleNamespace stubs)1 parent 2f458a7 commit 8def325
2 files changed
Lines changed: 31 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
138 | 146 | | |
139 | 147 | | |
140 | 148 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
186 | 207 | | |
187 | 208 | | |
188 | 209 | | |
| |||
262 | 283 | | |
263 | 284 | | |
264 | 285 | | |
265 | | - | |
| 286 | + | |
266 | 287 | | |
267 | 288 | | |
268 | 289 | | |
| |||
285 | 306 | | |
286 | 307 | | |
287 | 308 | | |
288 | | - | |
289 | | - | |
| 309 | + | |
290 | 310 | | |
291 | 311 | | |
292 | 312 | | |
| |||
0 commit comments