Skip to content

Commit dd3ebce

Browse files
authored
chore(python): add uv.lock to .gitignore (#104)
1 parent a92ec9d commit dd3ebce

File tree

1 file changed

+9
-18
lines changed

1 file changed

+9
-18
lines changed

python/{{cookiecutter.project_slug}}/.gitignore

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -89,17 +89,17 @@ target/
8989
profile_default/
9090
ipython_config.py
9191

92-
# pyenv
93-
# For a library or package, you might want to ignore these files since the code is
94-
# intended to run in multiple environments; otherwise, check them in:
92+
# Package/executable/environment management
93+
.env
94+
.venv
95+
env/
96+
venv/
97+
ENV/
98+
env.bak/
99+
venv.bak/
95100
.python-version
96-
97-
# pipenv
98-
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
99-
# However, in case of collaboration, if having platform-specific dependencies or dependencies
100-
# having no cross-platform support, pipenv may install dependencies that don't work, or not
101-
# install all needed dependencies.
102101
Pipfile.lock
102+
uv.lock
103103

104104
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
105105
__pypackages__/
@@ -111,15 +111,6 @@ celerybeat.pid
111111
# SageMath parsed files
112112
*.sage.py
113113

114-
# Environments
115-
.env
116-
.venv
117-
env/
118-
venv/
119-
ENV/
120-
env.bak/
121-
venv.bak/
122-
123114
# Spyder project settings
124115
.spyderproject
125116
.spyproject

0 commit comments

Comments
 (0)