Skip to content

Commit 5dd430e

Browse files
committed
LCORE-679: Ignore temporary directories
1 parent 9c8a7ff commit 5dd430e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

scripts/gen_doc.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,13 @@ def main():
6868
generate_documentation_on_path(f"{directory}/")
6969
for path in Path(directory).rglob("*"):
7070
if path.is_dir():
71+
# LCORE-679: Script to generate documentation should create
72+
# README.md files just for source modules
7173
if (
7274
path.name == "lightspeed_stack.egg-info"
7375
or path.name == "__pycache__"
7476
or ".ruff_cache" in str(path)
77+
or ".mypy_cache" in str(path)
7578
):
7679
continue
7780
generate_documentation_on_path(path)

0 commit comments

Comments
 (0)