Commit b4d54af 1 parent 83fad15 commit b4d54af Copy full SHA for b4d54af
File tree 2 files changed +10
-0
lines changed
tests/unit/infra/scaffolding
2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -83,6 +83,14 @@ def get_repo_files(repo_root: Path) -> List[Path]:
83
83
# Read ignore paths from .feastignore and create a set of all files that match any of these paths
84
84
ignore_paths = read_feastignore (repo_root )
85
85
ignore_files = get_ignore_files (repo_root , ignore_paths )
86
+ ignore_paths += [
87
+ ".git" ,
88
+ ".feastignore" ,
89
+ ".venv" ,
90
+ ".pytest_cache" ,
91
+ "__pycache__" ,
92
+ ".ipynb_checkpoints" ,
93
+ ]
86
94
87
95
# List all Python files in the root directory (recursively)
88
96
repo_files = {
Original file line number Diff line number Diff line change @@ -15,12 +15,14 @@ def feature_repo(feastignore_contents: Optional[str]):
15
15
repo_root = Path (tmp_dir )
16
16
(repo_root / "foo" ).mkdir ()
17
17
(repo_root / "foo1" ).mkdir ()
18
+ (repo_root / ".ipynb_checkpoints/" ).mkdir ()
18
19
(repo_root / "foo1/bar" ).mkdir ()
19
20
(repo_root / "bar" ).mkdir ()
20
21
(repo_root / "bar/subdir1" ).mkdir ()
21
22
(repo_root / "bar/subdir1/subdir2" ).mkdir ()
22
23
23
24
(repo_root / "a.py" ).touch ()
25
+ (repo_root / ".ipynb_checkpoints/test-checkpoint.ipynb" ).touch ()
24
26
(repo_root / "foo/b.py" ).touch ()
25
27
(repo_root / "foo1/c.py" ).touch ()
26
28
(repo_root / "foo1/bar/d.py" ).touch ()
You can’t perform that action at this time.
0 commit comments