chore: update exclusions

This commit is contained in:
aclist 2026-08-23 19:30:10 +09:00
parent f24b3574b8
commit b00523661f

View File

@ -1,12 +1,23 @@
from pathlib import Path
def iterate(search_str: str) -> None:
# TODO: exclude files from .gitignore
print()
print(f"Searching for '{search_str}'")
print()
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:
if file.is_dir():
continue