Skip to content

Conversation

agriyakhetarpal
Copy link
Contributor

@agriyakhetarpal agriyakhetarpal commented Aug 3, 2025

I noticed that GitHub's .gitignore template has some new files in https://github.com/github/gitignore/blob/622c03138bc602b6834aaba64f3061d478c91333/Python.gitignore, and the template here is not in sync with it. This PR adds some more files to the list; particularly files such as uv.lock, poetry.lock, and pdm-specific files (which users can un-ignore afterwards if they need them), and PyCharm – it's a popular IDE, I suppose. :)

The comments are copied verbatim from GitHub's template.


📚 Documentation preview 📚: https://scientific-python-cookie--628.org.readthedocs.build/

@henryiii henryiii merged commit 8b38c73 into scientific-python:main Aug 5, 2025
17 checks passed
@henryiii
Copy link
Collaborator

henryiii commented Aug 5, 2025

Thanks! I was wondering about adding lock files to VCS, but I see when looking at the diffs it's actually just comments you can uncomment.

Also, I think the standard *pylock should probably be included, but we can wait till GitHub adds it. (though I think PDM already moved to using it).

@agriyakhetarpal agriyakhetarpal deleted the more-stuff-to-ignore branch August 5, 2025 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants