Skip to content

Commit

Permalink
Fix test failure
Browse files Browse the repository at this point in the history
Signed-off-by: Judah Rand <17158624+judahrand@users.noreply.github.com>
  • Loading branch information
judahrand committed Jan 21, 2022
1 parent 82dc11f commit 623a3df
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion sdk/python/feast/repo_operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,11 @@ def get_repo_files(repo_root: Path) -> List[Path]:
ignore_files = get_ignore_files(repo_root, ignore_paths)

# List all Python files in the root directory (recursively)
repo_files = {p.resolve() for p in repo_root.glob("**/*.py") if p.is_file()}
repo_files = {
p.resolve()
for p in repo_root.glob("**/*.py")
if p.is_file() and "__init__.py" != p.name
}
# Ignore all files that match any of the ignore paths in .feastignore
repo_files -= ignore_files

Expand Down

0 comments on commit 623a3df

Please sign in to comment.