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:
93
.gitignore
vendored
93
.gitignore
vendored
@@ -1,34 +1,99 @@
|
||||
# Python
|
||||
# ─────────────────────────────────────────────
|
||||
# BanGUI — root .gitignore
|
||||
# ─────────────────────────────────────────────
|
||||
|
||||
# ── Python ────────────────────────────────────
|
||||
__pycache__/
|
||||
*.py[cod]
|
||||
*.pyo
|
||||
*.pyd
|
||||
*.so
|
||||
.Python
|
||||
|
||||
# Virtualenvs
|
||||
.venv/
|
||||
venv/
|
||||
env/
|
||||
ENV/
|
||||
.python-version
|
||||
|
||||
# Distribution / packaging
|
||||
dist/
|
||||
build/
|
||||
*.egg-info/
|
||||
*.egg
|
||||
MANIFEST
|
||||
|
||||
# Testing & coverage
|
||||
.coverage
|
||||
.coverage.*
|
||||
htmlcov/
|
||||
.pytest_cache/
|
||||
.tox/
|
||||
nosetests.xml
|
||||
coverage.xml
|
||||
*.cover
|
||||
|
||||
# Type checkers & linters
|
||||
.mypy_cache/
|
||||
.ruff_cache/
|
||||
dist/
|
||||
build/
|
||||
*.egg-info/
|
||||
.venv/
|
||||
venv/
|
||||
env/
|
||||
.dmypy.json
|
||||
dmypy.json
|
||||
pyrightconfig.json
|
||||
.pytype/
|
||||
|
||||
# Node
|
||||
# ── Node / Frontend ───────────────────────────
|
||||
node_modules/
|
||||
dist/
|
||||
.vite/
|
||||
.pnp
|
||||
.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.example
|
||||
*.pem
|
||||
secrets.json
|
||||
|
||||
# OS
|
||||
# ── Databases ─────────────────────────────────
|
||||
*.sqlite3
|
||||
*.db
|
||||
*.db-shm
|
||||
*.db-wal
|
||||
|
||||
# ── OS artefacts ──────────────────────────────
|
||||
.DS_Store
|
||||
.DS_Store?
|
||||
._*
|
||||
.Spotlight-V100
|
||||
.Trashes
|
||||
ehthumbs.db
|
||||
Thumbs.db
|
||||
|
||||
# Editor
|
||||
# ── Editor / IDE ──────────────────────────────
|
||||
.idea/
|
||||
*.iml
|
||||
*.sublime-project
|
||||
*.sublime-workspace
|
||||
.vscode/settings.json
|
||||
.vscode/launch.json
|
||||
.vscode/*.log
|
||||
*.swp
|
||||
*.swo
|
||||
*~
|
||||
|
||||
# ── Misc ──────────────────────────────────────
|
||||
*.log
|
||||
*.tmp
|
||||
*.bak
|
||||
*.orig
|
||||
|
||||
Reference in New Issue
Block a user