rmi-backend/.gitignore
opencode e0d0ae3bfd chore(rmi-backend,audit): gitignore main.py.bak
Phase 1 of AUDIT-2026-Q3.md item P1.4.

main.py.bak was a 374KB legacy leftover from the old 220-file app/
monolith. Its removal from the working tree was completed in e404e90
(feat(rmi-backend,audit): add app/main.py entrypoint delegating to
factory) in this audit session — that commit deleted main.py.bak and
added app/main.py in a single change.

This commit adds the defensive .gitignore entry so any future
main.py.bak / similar leftover files do not get re-tracked.

main.py.bak archive kept at:
  /tmp/rmi-backend-archive-2026-07/main.py.bak.removed-2026-07-06

Note: historical commit bde2f3a still contains 4 mainnet token
addresses for gitleaks; full rewrite with git-filter-repo is scheduled
for Phase 1.11 of AUDIT-2026-Q3.md.
2026-07-06 17:52:51 +02:00

90 lines
1.1 KiB
Text

# Python
*.egg
*.egg-info/
*.pyc
*.pyo
*.sock
__pycache__/
.mypy_cache/
.pytest_cache/
.ruff_cache/
.venv/
venv/
build/
dist/
# Env files — NEVER commit secrets
.env
*.env
.env.*
# Secrets and keys
*.key
*.pem
# Data / cache / temp
/cache/
/logs/
/tmp/
n8n-data/
# IDE
*.json
!*.example.json
!actor.json
!package*.jsondata/faiss/
data/bm25_index.pkl
data/faiss/
data/models/
data/faiss/
data/bm25_index.pkl
data/models/
.env.bak
# Large data files (excluded from HF mirror — 10+ MB each)
tools/VarLifter/
tools/VarLifter/
data/wallet-labels-backups/
sdks/python/rugmunch/
sdks/typescript/node_modules/
sdks/typescript/dist/
# Training data (kaggle, labels, ML datasets)
data/kaggle/
data/wallet-labels/
data/wallet-labels-clean/
# Large binary data
data/*.db
data/*.sqlite
*.parquet
*.pkl
data/papers/
.envrc
# === SECURITY: never commit secrets ===
.secrets/
*.pem
*.key
*.crt
*.p12
.env
.env.*
!.env.example
# === DATA: don't commit binary data blobs ===
*.zip
*.tar.gz
*.tar
*.parquet
*.duckdb
*.sqlite
*.bin
*.safetensors
*.pt
*.pth
*.onnx
*.gguf
*.h5
*.hdf5
main.py.bak