From 71f38ef56b8030fedcc0e7250250c7081eeafd8a Mon Sep 17 00:00:00 2001 From: Zichen LI Date: Fri, 28 Nov 2025 16:48:10 +0100 Subject: [PATCH] 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 --- .gitignore | 109 +++++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 97 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index a47cb18..472cab0 100644 --- a/.gitignore +++ b/.gitignore @@ -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 *~ +