chore: comprehensive .gitignore for Python, IDE, OS, runtime data

This commit is contained in:
2026-07-25 15:45:06 +08:00
parent 2177e65fb4
commit 0d50ba2177
+66 -5
View File
@@ -1,8 +1,69 @@
# Python
__pycache__/ __pycache__/
*.pyc *.py[cod]
venv/ *.pyo
.env *.egg
logs/*.log
data/
*.egg-info/ *.egg-info/
*.so
dist/
build/
*.whl
# Virtual environment
venv/
.venv/
env/
.env/
pip-log.txt
pip-delete-this-directory.txt
# IDE
.idea/
.vscode/
*.swp
*.swo
*~
.project
.classpath
.settings/
# OS
.DS_Store .DS_Store
Thumbs.db
Desktop.ini
.directory
# Logs
logs/*.log
logs/*.log.*
# Runtime data
data/config.json
data/dashboards/
data/scenes/
data/*.json
# Environment
.env
.env.*
*.local
# Archive / temp
*.tmp
*.temp
*.bak
*.zip
*.tar.gz
# Test coverage
htmlcov/
.coverage
.coverage.*
.pytest_cache/
# MyPy
.mypy_cache/
# Node (if any)
node_modules/
package-lock.json