Skip to content

Commit d73c2b2

Browse files
committed
added defaults
1 parent 9f352ed commit d73c2b2

File tree

1 file changed

+41
-1
lines changed

1 file changed

+41
-1
lines changed

eval_protocol/evaluation.py

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,47 @@ def _should_ignore(path: str, ignore_patterns: List[str]) -> bool:
602602
from pathlib import Path
603603
import fnmatch
604604

605-
default_ignores = [".git", "__pycache__", "*.pyc", ".venv", "venv", "node_modules", "*.egg-info"]
605+
default_ignores = [
606+
".git",
607+
".github",
608+
"__pycache__",
609+
"*.pyc",
610+
"*.pyo",
611+
"*.pyd",
612+
".venv",
613+
"venv",
614+
".tox",
615+
".pytest_cache",
616+
".mypy_cache",
617+
".ruff_cache",
618+
".ipynb_checkpoints",
619+
".idea",
620+
".vscode",
621+
".cache",
622+
"node_modules",
623+
"vendor",
624+
"dist",
625+
"build",
626+
"*.egg-info",
627+
"*.egg",
628+
"*.whl",
629+
"*.tar.gz",
630+
"*.zip",
631+
"*.log",
632+
"*.tmp",
633+
"*.swp",
634+
".DS_Store",
635+
"coverage",
636+
"htmlcov",
637+
".coverage",
638+
"coverage.xml",
639+
".env",
640+
".env.*",
641+
"*.so",
642+
"*.dylib",
643+
".pytest_cache/",
644+
"env/",
645+
]
606646
all_patterns = default_ignores + ignore_patterns
607647

608648
path_obj = Path(path)

0 commit comments

Comments
 (0)