Update .gitignore to properly ignore Python cache files

This commit is contained in:
yifeng.wang
2025-03-07 16:06:55 +08:00
parent 6bb5bcd836
commit da6e3df051

52
.gitignore vendored
View File

@@ -1,6 +1,56 @@
.dist
# Python
__pycache__/
**/__pycache__/
*/__pycache__/*
*.py[cod]
*$py.class
*.so
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg
# Virtual Environment
venv/
env/
ENV/
.env
# IDE
.idea/
.vscode/
*.swp
*.swo
.DS_Store
# Project specific
owl/data
owl/tmp
owl/.env
owl/utils/__pycache__/
# Logs
*.log
logs/
log/
# Coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
coverage.xml
*.cover