Skip to content

Commit 8b38c73

Browse files
docs: add some UV, poetry, pdm, and PyCharm stuff to ignore from version control (#628)
Add UV, poetry, pdm, and PyCharm stuff
1 parent 01eb417 commit 8b38c73

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

{{cookiecutter.project_name}}/.gitignore

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,29 @@ ipython_config.py
9494
# install all needed dependencies.
9595
#Pipfile.lock
9696

97+
# UV
98+
# Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
99+
# This is especially recommended for binary packages to ensure reproducibility, and is more
100+
# commonly ignored for libraries.
101+
#uv.lock
102+
103+
# poetry
104+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
105+
# This is especially recommended for binary packages to ensure reproducibility, and is more
106+
# commonly ignored for libraries.
107+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
108+
#poetry.lock
109+
110+
# pdm
111+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
112+
#pdm.lock
113+
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
114+
# in version control.
115+
# https://pdm.fming.dev/latest/usage/project/#working-with-version-control
116+
.pdm.toml
117+
.pdm-python
118+
.pdm-build/
119+
97120
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
98121
__pypackages__/
99122

@@ -137,6 +160,13 @@ dmypy.json
137160
# Cython debug symbols
138161
cython_debug/
139162

163+
# PyCharm
164+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
165+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
166+
# and can be added to the global gitignore or merged into this file. For a more nuclear
167+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
168+
#.idea/
169+
140170
# setuptools_scm
141171
src/*/_version.py
142172

0 commit comments

Comments
 (0)