Commit 2baeade
committed
fix(sphinx-autodoc-sphinx): Correct option_spec type annotation for mypy
why: Base class Directive expects dict[str, Callable] | None, not
dict[str, object].
what:
- Change option_spec annotation from dict[str, object] to
dict[str, t.Any] in AutoconfigvalueDirective and
AutoconfigvaluesDirective1 parent b2b2f8d commit 2baeade
File tree
1 file changed
+2
-2
lines changed- packages/sphinx-autodoc-sphinx/src/sphinx_autodoc_sphinx
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
377 | 377 | | |
378 | 378 | | |
379 | 379 | | |
380 | | - | |
| 380 | + | |
381 | 381 | | |
382 | 382 | | |
383 | 383 | | |
| |||
392 | 392 | | |
393 | 393 | | |
394 | 394 | | |
395 | | - | |
| 395 | + | |
396 | 396 | | |
397 | 397 | | |
398 | 398 | | |
| |||
0 commit comments