rmi-backend/.gitignore
opencode f4d42768a2 chore(rmi-backend,audit): delete ruff.toml — pyproject.toml [tool.ruff] is canonical
Phase 1 of AUDIT-2026-Q3.md item P1.8.

ruff.toml was overriding pyproject.toml [tool.ruff] silently:
  ruff.toml:    line-length 120, ignored SIM102/RUF006/B008
  pyproject.toml: line-length 100, security rules enabled (canonical)

Two configs contradicting each other silently is the worst-case
configuration — neither developer nor CI notice, and the strict
[tool.ruff] security rules (S) never run.

Deleted ruff.toml. Added defensive .gitignore entry. ruff now reads
only pyproject.toml. Verified with ruff check --show-settings:
  linter.line_length = 100
  linter.pycodestyle.max_line_length = 100

ruff.toml moved to /tmp/rmi-backend-archive-2026-07/ruff.toml.removed-2026-07-06.
2026-07-06 17:53:03 +02:00

91 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
ruff.toml