chore: expand root .gitignore with comprehensive patterns

Cover Python, Node, secrets, databases, OS artefacts, and editors.
Previous entry was minimal; this replaces it with a well-structured,
commented ignore file suitable for a full-stack Python/React project.
This commit is contained in:
2026-02-28 21:50:32 +01:00
parent 60683da3ca
commit 33a38014e6

93
.gitignore vendored
View File

@@ -1,34 +1,99 @@
# Python # ─────────────────────────────────────────────
# BanGUI — root .gitignore
# ─────────────────────────────────────────────
# ── Python ────────────────────────────────────
__pycache__/ __pycache__/
*.py[cod] *.py[cod]
*.pyo *.pyo
*.pyd
*.so
.Python
# Virtualenvs
.venv/
venv/
env/
ENV/
.python-version
# Distribution / packaging
dist/
build/
*.egg-info/
*.egg
MANIFEST
# Testing & coverage
.coverage .coverage
.coverage.* .coverage.*
htmlcov/ htmlcov/
.pytest_cache/ .pytest_cache/
.tox/
nosetests.xml
coverage.xml
*.cover
# Type checkers & linters
.mypy_cache/ .mypy_cache/
.ruff_cache/ .ruff_cache/
dist/ .dmypy.json
build/ dmypy.json
*.egg-info/ pyrightconfig.json
.venv/ .pytype/
venv/
env/
# Node # ── Node / Frontend ───────────────────────────
node_modules/ node_modules/
dist/ .pnp
.vite/ .pnp.js
# Env # Build output
frontend/dist/
frontend/.vite/
# Logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*
# ── Secrets / Environment ─────────────────────
.env .env
*.env .env.*
!.env.example
*.pem
secrets.json
# OS # ── Databases ─────────────────────────────────
*.sqlite3
*.db
*.db-shm
*.db-wal
# ── OS artefacts ──────────────────────────────
.DS_Store .DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db Thumbs.db
# Editor # ── Editor / IDE ──────────────────────────────
.idea/ .idea/
*.iml
*.sublime-project
*.sublime-workspace
.vscode/settings.json
.vscode/launch.json
.vscode/*.log
*.swp *.swp
*.swo *.swo
*~
# ── Misc ──────────────────────────────────────
*.log
*.tmp
*.bak
*.orig