-
Notifications
You must be signed in to change notification settings - Fork 124
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
Add python aux files to .gitignore #246
Conversation
After running `./polaris ...`: ``` $ git st On branch main Your branch is up to date with 'origin/main'. Untracked files: (use "git add <file>..." to include in what will be committed) poetry.lock polaris-venv/ pyproject.toml ```
@snazy : Do you think we could merge this? |
.gitignore
Outdated
# Python stuff | ||
poetry.lock | ||
polaris-venv/ | ||
pyproject.toml |
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.
Hm - looks like ./regtests/client/python/pyproject.toml
and ./regtests/client/python/poetry.lock
are in versioned Git though.
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.
but they are not covered by this exclusion 🤔 Do you mean we should exclude those files or commit poetry.lock
?
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.
They would be. It's just that those files are already managed by Git.
Maybe you meant
/poetry.lock
/pyproject.toml
?
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.
/p/polaris (git-ignore|✚1) $ git status
On branch git-ignore
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: regtests/client/python/poetry.lock
... but it's a good point in general. I've added leading slashes to avoid ambiguity.
LGTM |
After running
./polaris ...
:Description
Excluding python-related auxiliary files from source control.