mirror of
https://github.com/aclist/dztui.git
synced 2026-11-01 07:32:44 +01:00
chore: update exclusions
This commit is contained in:
1 parent
f24b3574b8
commit
b00523661f
1 file changed
+12
-1
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user