Skip to content

Commit 414b30c

Browse files
committed
Remove all underscored python source files from autodocs
1 parent 615962f commit 414b30c

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

docs/source/_exts/autogen_api_docs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def generate_api_docs():
4343
if file.name == "__init__.py":
4444
if file.parent != PYTHON_PACKAGE:
4545
content.append(make_package_section(file))
46-
else:
46+
elif not file.name.startswith("_"):
4747
content.append(make_module_section(file))
4848

4949
API_FILE.write_text("\n".join(content))

src/reactpy/_html.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,6 @@ def _script(
174174
class SvgConstructor:
175175
"""Constructor specifically for SVG children."""
176176

177-
# ruff: noqa: N815
178177
__cache__: ClassVar[dict[str, VdomDictConstructor]] = {}
179178

180179
def __call__(

0 commit comments

Comments
 (0)