-
Notifications
You must be signed in to change notification settings - Fork 1.1k
feat: ignore ipynb files during apply #5177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
feat: ignore ipynb files during apply #5177
Conversation
@@ -104,6 +104,7 @@ def get_repo_files(repo_root: Path) -> List[Path]: | |||
p.resolve() | |||
for p in repo_root.glob("**/*.py") | |||
if p.is_file() and "__init__.py" != p.name | |||
and not p.name.endswith(".ipynb") # Ignore Jupyter Notebook files during feast apply |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also if you can add .ipynb_checkpoints
to ignore
@@ -104,6 +104,7 @@ def get_repo_files(repo_root: Path) -> List[Path]: | |||
p.resolve() | |||
for p in repo_root.glob("**/*.py") | |||
if p.is_file() and "__init__.py" != p.name | |||
and not p.name.endswith(".ipynb") # Ignore Jupyter Notebook files during feast apply |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we make this a list of files we ignore and add .ipynb
to it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interestingly, I see .ipynb_checkpoints
in the ignore_paths
but I have experienced this issue locally very frequently.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
me too, I just used to do find . -name ".ipynb_checkpoints" -type d -exec rm -rf {} +
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah i do something similar
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
What this PR does / why we need it:
Ignore Jupyter Notebook Files extensions when using feast apply
Which issue(s) this PR fixes:
Fixes #5145