Skip to content

Commit cfd9f7b

Browse files
committed
Update inner .gitignore to https://github.com/github/gitignore/blob/main/Python.gitignore with date comment
1 parent 90c0ee6 commit cfd9f7b

File tree

1 file changed

+111
-15
lines changed

1 file changed

+111
-15
lines changed

{{cookiecutter.pypi_package_name}}/.gitignore

Lines changed: 111 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
1+
# From https://github.com/github/gitignore/blob/main/Python.gitignore 2025-07-30
2+
13
# Byte-compiled / optimized / DLL files
24
__pycache__/
3-
*.py[cod]
5+
*.py[codz]
46
*$py.class
57

68
# C extensions
79
*.so
810

911
# Distribution / packaging
1012
.Python
11-
env/
1213
build/
1314
develop-eggs/
1415
dist/
@@ -21,9 +22,11 @@ parts/
2122
sdist/
2223
var/
2324
wheels/
25+
share/python-wheels/
2426
*.egg-info/
2527
.installed.cfg
2628
*.egg
29+
MANIFEST
2730

2831
# PyInstaller
2932
# Usually these files are written by a python script from a template
@@ -37,14 +40,18 @@ pip-delete-this-directory.txt
3740

3841
# Unit test / coverage reports
3942
htmlcov/
43+
.tox/
44+
.nox/
4045
.coverage
4146
.coverage.*
4247
.cache
4348
nosetests.xml
4449
coverage.xml
4550
*.cover
51+
*.py.cover
4652
.hypothesis/
4753
.pytest_cache/
54+
cover/
4855

4956
# Translations
5057
*.mo
@@ -53,6 +60,8 @@ coverage.xml
5360
# Django stuff:
5461
*.log
5562
local_settings.py
63+
db.sqlite3
64+
db.sqlite3-journal
5665

5766
# Flask stuff:
5867
instance/
@@ -65,30 +74,77 @@ instance/
6574
docs/_build/
6675

6776
# PyBuilder
77+
.pybuilder/
6878
target/
6979

7080
# Jupyter Notebook
7181
.ipynb_checkpoints
7282

73-
# Dask worker cache
74-
dask-worker-space/
83+
# IPython
84+
profile_default/
85+
ipython_config.py
7586

7687
# pyenv
77-
.python-version
78-
79-
# celery beat schedule file
88+
# For a library or package, you might want to ignore these files since the code is
89+
# intended to run in multiple environments; otherwise, check them in:
90+
# .python-version
91+
92+
# pipenv
93+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
94+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
95+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
96+
# install all needed dependencies.
97+
#Pipfile.lock
98+
99+
# UV
100+
# Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
101+
# This is especially recommended for binary packages to ensure reproducibility, and is more
102+
# commonly ignored for libraries.
103+
#uv.lock
104+
105+
# poetry
106+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
107+
# This is especially recommended for binary packages to ensure reproducibility, and is more
108+
# commonly ignored for libraries.
109+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
110+
#poetry.lock
111+
#poetry.toml
112+
113+
# pdm
114+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
115+
# pdm recommends including project-wide configuration in pdm.toml, but excluding .pdm-python.
116+
# https://pdm-project.org/en/latest/usage/project/#working-with-version-control
117+
#pdm.lock
118+
#pdm.toml
119+
.pdm-python
120+
.pdm-build/
121+
122+
# pixi
123+
# Similar to Pipfile.lock, it is generally recommended to include pixi.lock in version control.
124+
#pixi.lock
125+
# Pixi creates a virtual environment in the .pixi directory, just like venv module creates one
126+
# in the .venv directory. It is recommended not to include this directory in version control.
127+
.pixi
128+
129+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
130+
__pypackages__/
131+
132+
# Celery stuff
80133
celerybeat-schedule
134+
celerybeat.pid
81135

82136
# SageMath parsed files
83137
*.sage.py
84138

85-
# dotenv
139+
# Environments
86140
.env
87-
88-
# virtualenv
141+
.envrc
89142
.venv
143+
env/
90144
venv/
91145
ENV/
146+
env.bak/
147+
venv.bak/
92148

93149
# Spyder project settings
94150
.spyderproject
@@ -102,8 +158,48 @@ ENV/
102158

103159
# mypy
104160
.mypy_cache/
105-
106-
# IDE settings
107-
.vscode/
108-
.idea/
109-
161+
.dmypy.json
162+
dmypy.json
163+
164+
# Pyre type checker
165+
.pyre/
166+
167+
# pytype static type analyzer
168+
.pytype/
169+
170+
# Cython debug symbols
171+
cython_debug/
172+
173+
# PyCharm
174+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
175+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
176+
# and can be added to the global gitignore or merged into this file. For a more nuclear
177+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
178+
#.idea/
179+
180+
# Abstra
181+
# Abstra is an AI-powered process automation framework.
182+
# Ignore directories containing user credentials, local state, and settings.
183+
# Learn more at https://abstra.io/docs
184+
.abstra/
185+
186+
# Visual Studio Code
187+
# Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore
188+
# that can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
189+
# and can be added to the global gitignore or merged into this file. However, if you prefer,
190+
# you could uncomment the following to ignore the entire vscode folder
191+
# .vscode/
192+
193+
# Ruff stuff:
194+
.ruff_cache/
195+
196+
# PyPI configuration file
197+
.pypirc
198+
199+
# Marimo
200+
marimo/_static/
201+
marimo/_lsp/
202+
__marimo__/
203+
204+
# Streamlit
205+
.streamlit/secrets.toml

0 commit comments

Comments
 (0)