chore: update .gitignore to include additional project-specific, build, test, and environment files

This commit is contained in:
Jack Lu 2026-04-07 00:04:57 +08:00 committed by Xubin Ren
parent 8871a57b4c
commit 873bf5e692

81
.gitignore vendored
View File

@ -1,13 +1,13 @@
# Project-specific
.worktrees/ .worktrees/
.assets .assets
.docs .docs
.env .env
.web .web
nano.*.save
# Python bytecode & caches
*.pyc *.pyc
dist/
build/
*.egg-info/
*.egg
*.pycs *.pycs
*.pyo *.pyo
*.pyd *.pyd
@ -15,12 +15,75 @@ build/
*.pyz *.pyz
*.pywz *.pywz
*.pyzz *.pyzz
__pycache__/
*.egg-info/
*.egg
.venv/ .venv/
venv/ venv/
__pycache__/
poetry.lock
.pytest_cache/ .pytest_cache/
botpy.log .mypy_cache/
nano.*.save .ruff_cache/
.DS_Store .pytype/
.dmypy.json
dmypy.json
.tox/
.nox/
.hypothesis/
# Build & packaging
dist/
build/
*.manifest
*.spec
pip-wheel-metadata/
share/python-wheels/
# Test & coverage
.coverage
.coverage.*
htmlcov/
coverage.xml
*.cover
# Lock files (project policy)
poetry.lock
uv.lock uv.lock
# Jupyter
.ipynb_checkpoints/
# macOS
.DS_Store
.AppleDouble
.LSOverride
# Windows
Thumbs.db
ehthumbs.db
Desktop.ini
# Linux
.directory
# Editors & IDEs (local workspace / user settings)
.vscode/
.cursor/
.idea/
.fleet/
*.code-workspace
*.sublime-project
*.sublime-workspace
*.swp
*.swo
*~
# Environment & secrets (keep examples tracked if needed)
.env.*
!.env.example
# Logs & temp
*.log
logs/
tmp/
temp/
*.tmp