Commit 9054795
committed
fix(docs[_ext]): Suppress mypy misc errors on docutils node subclasses
why: CI has docutils type stubs that expose General/Inline/Element as
Any, causing "Class cannot subclass" mypy errors on node subclasses.
what:
- Add type: ignore[misc] to _safety_badge_node and _tool_ref_placeholder1 parent 87efa1d commit 9054795
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
421 | 421 | | |
422 | 422 | | |
423 | 423 | | |
424 | | - | |
| 424 | + | |
425 | 425 | | |
426 | 426 | | |
427 | 427 | | |
| |||
868 | 868 | | |
869 | 869 | | |
870 | 870 | | |
871 | | - | |
| 871 | + | |
872 | 872 | | |
873 | 873 | | |
874 | 874 | | |
| |||
0 commit comments