|
| 1 | +# pyright: reportMissingImports=false |
1 | 2 | # Configuration file for the Sphinx documentation builder. |
2 | 3 | # |
3 | 4 | # For the full list of built-in configuration values, see the documentation: |
@@ -125,12 +126,12 @@ def _patched_sort_members( |
125 | 126 | if required_keys: |
126 | 127 | self.add_line("", sourcename) |
127 | 128 | self.add_line(":Required Keys:", sourcename) |
128 | | - self.document_keys(required_keys, types, docstrings) |
| 129 | + self.document_keys(required_keys, types, docstrings) # pyright: ignore[reportUnknownMemberType] |
129 | 130 | self.add_line("", sourcename) |
130 | 131 | if optional_keys: |
131 | 132 | self.add_line("", sourcename) |
132 | 133 | self.add_line(":Optional Keys:", sourcename) |
133 | | - self.document_keys(optional_keys, types, docstrings) |
| 134 | + self.document_keys(optional_keys, types, docstrings) # pyright: ignore[reportUnknownMemberType] |
134 | 135 | self.add_line("", sourcename) |
135 | 136 |
|
136 | 137 | return [] |
@@ -169,7 +170,7 @@ def _inject_type_submodules(_app: Sphinx, docname: str, source: list[str]) -> No |
169 | 170 |
|
170 | 171 |
|
171 | 172 | def setup(app: Sphinx) -> None: |
172 | | - app.connect("source-read", _inject_type_submodules) |
| 173 | + app.connect("source-read", _inject_type_submodules) # pyright: ignore[reportUnknownMemberType] |
173 | 174 |
|
174 | 175 |
|
175 | 176 | # Intersphinx mapping |
|
0 commit comments