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

107
.gitignore vendored
View File

@ -1,3 +1,6 @@
# Created by https://www.toptal.com/developers/gitignore/api/python
# Edit at https://www.toptal.com/developers/gitignore?templates=python
# -------------------- # --------------------
# Python # Python
# -------------------- # --------------------
@ -6,53 +9,135 @@ __pycache__/
*.pyo *.pyo
*.pyd *.pyd
*.so *.so
*$py.class
*.sage.py
# Packaging # --------------------
dist/ # Packaging / builds
# --------------------
.Python
build/ build/
dist/
develop-eggs/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
share/python-wheels/
var/
wheels/
*.egg *.egg
*.egg-info/ *.egg-info/
.eggs/ .installed.cfg
*.whl MANIFEST
*.manifest
*.spec
# log/temp # --------------------
# Logs / caches / temp
# --------------------
*.log *.log
*.tmp *.tmp
*.temp *.temp
*.out *.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/ JAX-venv/
venv/
.venv/ .venv/
venv/
env/ env/
ENV/ ENV/
.env
env.bak/
venv.bak/
# -------------------- # --------------------
# Jupyter # Python packaging helpers
# --------------------
.pdm.toml
poetry.toml
__pypackages__/
# --------------------
# Notebooks / REPL
# -------------------- # --------------------
.ipynb_checkpoints/ .ipynb_checkpoints/
*.nb.py *.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/ .vscode/
.history/ .history/
*.code-workspace *.code-workspace
.spyderproject
.spyproject
.ropeproject
# -------------------- # --------------------
# Operate system # Operating system
# -------------------- # --------------------
.DS_Store .DS_Store
Thumbs.db Thumbs.db
# -------------------- # --------------------
# editor temp files # Editor temp files
# -------------------- # --------------------
*.swp *.swp
*.swo *.swo
*~ *~