chore: update exclusions

This commit is contained in:
aclist committed 2026-08-23 19:30:10 +09:00
1 parent f24b3574b8
commit b00523661f
1 file changed
+12 -1
+12 -1
View File
@@ -1,12 +1,23 @@
from pathlib import Path from pathlib import Path
def iterate(search_str: str) -> None: def iterate(search_str: str) -> None:
# TODO: exclude files from .gitignore # TODO: exclude files from .gitignore
print() print()
print(f"Searching for '{search_str}'") print(f"Searching for '{search_str}'")
print() print()
files = Path(".").rglob("*") files = Path(".").rglob("*")
ignore = [".git", ".mypy", "build/", "test.py"] ignore = [
"scripts/",
".git",
"egg",
"CHANGELOG",
".mypy",
"build/",
"test.py",
"bugs",
"pyproject.toml",
]
for file in files: for file in files:
if file.is_dir(): if file.is_dir():
continue continue