Skip to content

Commit de0ce4f

Browse files
committed
Update .gitignore template and review all rules
Fix #234
1 parent a8b4160 commit de0ce4f

1 file changed

Lines changed: 178 additions & 29 deletions

File tree

.gitignore

Lines changed: 178 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,56 @@
1-
winpython.env
2-
.spyderproject
1+
# ---------------------------- Specific to this project --------------------------------
2+
3+
# DataLab project specific
4+
resources/*.png
35
doc.zip
6+
releases/
7+
/tutorialnotes*.md
8+
doc/contributing/changelog.md
9+
scenario_*.h5
10+
11+
# Windows specific
412
Thumbs.db
5-
doctmp/
6-
.vs/
13+
14+
# Microsoft Visual Studio
715
*.pyproj
816
*.sln
9-
releases/
17+
18+
# Sphinx documentation
19+
doctmp/
1020
.doctrees/
1121
doc/install_requires.txt
1222
doc/extras_require-dev.txt
1323
doc/extras_require-doc.txt
14-
*.bak
15-
/tutorialnotes*.md
1624
doc/locale/pot/_sphinx_design_static/
17-
doc/contributing/changelog.md
1825

19-
# Visual Studio Code
20-
.venv
21-
.env
26+
# Backup files (e.g. created during merge conflicts)
27+
*.bak
28+
29+
# WiX files
30+
.wix/
31+
wix/DataLab-*.wxs
32+
wix/bin/
33+
wix/obj/
34+
wix/*.bmp
35+
*.wixpdb
36+
*.msi
37+
38+
# ------------------ Template `Python.gitignore` from gitignore.io ---------------------
2239

2340
# Created by https://www.gitignore.io/api/python
2441

2542
### Python ###
2643
# Byte-compiled / optimized / DLL files
2744
__pycache__/
28-
*.py[cod]
45+
*.py[codz]
2946
*$py.class
3047

3148
# C extensions
3249
*.so
3350

3451
# Distribution / packaging
3552
.Python
36-
env/
3753
build/
38-
_build/
3954
develop-eggs/
4055
dist/
4156
downloads/
@@ -46,13 +61,16 @@ lib64/
4661
parts/
4762
sdist/
4863
var/
64+
wheels/
65+
share/python-wheels/
4966
*.egg-info/
5067
.installed.cfg
5168
*.egg
69+
MANIFEST
5270

5371
# PyInstaller
5472
# Usually these files are written by a python script from a template
55-
# before PyInstaller builds the exe, so as to inject date/other info into it.
73+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
5674
*.manifest
5775
# *.spec
5876

@@ -63,38 +81,169 @@ pip-delete-this-directory.txt
6381
# Unit test / coverage reports
6482
htmlcov/
6583
.tox/
84+
.nox/
6685
.coverage
6786
.coverage.*
6887
.cache
6988
nosetests.xml
7089
coverage.xml
71-
*,cover
90+
*.cover
91+
*.py.cover
92+
.hypothesis/
93+
.pytest_cache/
94+
cover/
7295

7396
# Translations
7497
*.mo
7598
*.pot
7699

77100
# Django stuff:
78101
*.log
102+
local_settings.py
103+
db.sqlite3
104+
db.sqlite3-journal
105+
106+
# Flask stuff:
107+
instance/
108+
.webassets-cache
109+
110+
# Scrapy stuff:
111+
.scrapy
79112

80113
# Sphinx documentation
81114
docs/_build/
82-
cdl/data/doc/
83115

84116
# PyBuilder
117+
.pybuilder/
85118
target/
86119

87-
# Files related to WiX
88-
.wix/
89-
wix/DataLab-*.wxs
90-
wix/bin/
91-
wix/obj/
92-
wix/*.bmp
93-
*.wixpdb
94-
*.msi
120+
# Jupyter Notebook
121+
.ipynb_checkpoints
95122

96-
# Files generated by tests
97-
scenario_*.h5
123+
# IPython
124+
profile_default/
125+
ipython_config.py
126+
127+
# pyenv
128+
# For a library or package, you might want to ignore these files since the code is
129+
# intended to run in multiple environments; otherwise, check them in:
130+
# .python-version
131+
132+
# pipenv
133+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
134+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
135+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
136+
# install all needed dependencies.
137+
#Pipfile.lock
138+
139+
# UV
140+
# Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
141+
# This is especially recommended for binary packages to ensure reproducibility, and is more
142+
# commonly ignored for libraries.
143+
#uv.lock
144+
145+
# poetry
146+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
147+
# This is especially recommended for binary packages to ensure reproducibility, and is more
148+
# commonly ignored for libraries.
149+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
150+
#poetry.lock
151+
#poetry.toml
152+
153+
# pdm
154+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
155+
# pdm recommends including project-wide configuration in pdm.toml, but excluding .pdm-python.
156+
# https://pdm-project.org/en/latest/usage/project/#working-with-version-control
157+
#pdm.lock
158+
#pdm.toml
159+
.pdm-python
160+
.pdm-build/
161+
162+
# pixi
163+
# Similar to Pipfile.lock, it is generally recommended to include pixi.lock in version control.
164+
#pixi.lock
165+
# Pixi creates a virtual environment in the .pixi directory, just like venv module creates one
166+
# in the .venv directory. It is recommended not to include this directory in version control.
167+
.pixi
168+
169+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
170+
__pypackages__/
171+
172+
# Celery stuff
173+
celerybeat-schedule
174+
celerybeat.pid
175+
176+
# SageMath parsed files
177+
*.sage.py
178+
179+
# Environments
180+
.env
181+
.envrc
182+
.venv
183+
env/
184+
venv/
185+
ENV/
186+
env.bak/
187+
venv.bak/
188+
189+
# Spyder project settings
190+
.spyderproject
191+
.spyproject
192+
193+
# Rope project settings
194+
.ropeproject
195+
196+
# mkdocs documentation
197+
/site
198+
199+
# mypy
200+
.mypy_cache/
201+
.dmypy.json
202+
dmypy.json
203+
204+
# Pyre type checker
205+
.pyre/
206+
207+
# pytype static type analyzer
208+
.pytype/
209+
210+
# Cython debug symbols
211+
cython_debug/
212+
213+
# PyCharm
214+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
215+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
216+
# and can be added to the global gitignore or merged into this file. For a more nuclear
217+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
218+
#.idea/
219+
220+
# Abstra
221+
# Abstra is an AI-powered process automation framework.
222+
# Ignore directories containing user credentials, local state, and settings.
223+
# Learn more at https://abstra.io/docs
224+
.abstra/
225+
226+
# Visual Studio Code
227+
# Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore
228+
# that can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
229+
# and can be added to the global gitignore or merged into this file. However, if you prefer,
230+
# you could uncomment the following to ignore the entire vscode folder
231+
.vscode/
232+
233+
# Ruff stuff:
234+
.ruff_cache/
235+
236+
# PyPI configuration file
237+
.pypirc
238+
239+
# Cursor
240+
# Cursor is an AI-powered code editor. `.cursorignore` specifies files/directories to
241+
# exclude from AI features like autocomplete and code analysis. Recommended for sensitive data
242+
# refer to https://docs.cursor.com/context/ignore-files
243+
.cursorignore
244+
.cursorindexingignore
98245

99-
# Image resources
100-
resources/*.png
246+
# Marimo
247+
marimo/_static/
248+
marimo/_lsp/
249+
__marimo__/

0 commit comments

Comments
 (0)