Generate .gitignore file by toptal

# Created by https://www.toptal.com/developers/gitignore/api/python
# Edit at https://www.toptal.com/developers/gitignore?templates=python
This commit is contained in:
Zichen LI 2025-11-28 16:48:10 +01:00
parent c600d30161
commit 71f38ef56b
1 changed files with 97 additions and 12 deletions

109
.gitignore vendored
View File

@ -1,58 +1,143 @@
# Created by https://www.toptal.com/developers/gitignore/api/python
# Edit at https://www.toptal.com/developers/gitignore?templates=python
# --------------------
# Python
# Python
# --------------------
__pycache__/
*.py[cod]
*.pyo
*.pyd
*.so
*$py.class
*.sage.py
# Packaging
dist/
# --------------------
# Packaging / builds
# --------------------
.Python
build/
dist/
develop-eggs/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
share/python-wheels/
var/
wheels/
*.egg
*.egg-info/
.eggs/
*.whl
.installed.cfg
MANIFEST
*.manifest
*.spec
# log/temp
# --------------------
# Logs / caches / temp
# --------------------
*.log
*.tmp
*.temp
*.out
pip-log.txt
pip-delete-this-directory.txt
.cache
.hypothesis/
.pytest_cache/
.tox/
.nox/
.coverage
.coverage.*
*.cover
*.py,cover
cover/
htmlcov/
# --------------------
# virtual environment
# Databases / translations
# --------------------
*.mo
*.pot
db.sqlite3
db.sqlite3-journal
# --------------------
# Framework / tool artifacts
# --------------------
local_settings.py
instance/
.webassets-cache
.scrapy
docs/_build/
.pybuilder/
target/
celerybeat-schedule
celerybeat.pid
/site
# --------------------
# Virtual environments
# --------------------
JAX-venv/
venv/
.venv/
venv/
env/
ENV/
.env
env.bak/
venv.bak/
# --------------------
# Jupyter
# Python packaging helpers
# --------------------
.pdm.toml
poetry.toml
__pypackages__/
# --------------------
# Notebooks / REPL
# --------------------
.ipynb_checkpoints/
*.nb.py
profile_default/
ipython_config.py
# --------------------
# VS Code
# Type checking / analysis
# --------------------
.mypy_cache/
.dmypy.json
dmypy.json
.pyre/
.pytype/
.ruff_cache/
pyrightconfig.json
# --------------------
# Editors / IDEs
# --------------------
.vscode/
.history/
*.code-workspace
.spyderproject
.spyproject
.ropeproject
# --------------------
# Operate system
# Operating system
# --------------------
.DS_Store
Thumbs.db
# --------------------
# editor temp files
# Editor temp files
# --------------------
*.swp
*.swo
*~