fix: proper .gitignore excluding cache dirs and secrets
Some checks are pending
CI / lint (push) Waiting to run
CI / test (push) Waiting to run
CI / security (push) Waiting to run
CI / pre-commit (push) Waiting to run
CI / license (push) Waiting to run
CI / ai-review (push) Waiting to run

This commit is contained in:
Crypto Rug Munch 2026-07-01 19:02:25 +07:00
parent b92ae0efaa
commit 7f4ad4fe88
No known key found for this signature in database
GPG key ID: 58D4300721937626

78
.gitignore vendored
View file

@ -1,23 +1,73 @@
# ═══════════════════════════════════════════════════════════
# WalletPress — .gitignore (RMI universal + WP-specific)
# ═══════════════════════════════════════════════════════════
# ── SECRETS (zero tolerance) ────────────────────────────────
.env .env
node_modules/ .env.*
.DS_Store !.env.example
*.log !.env.template
*.pem
*.key
*.p12
*.pfx
id_rsa
id_ed25519
*.session
credentials.json
service-account.json
wallet.json
vault.json
.secrets/
.rmi/wallets/
# ── Python ──────────────────────────────────────────────────
__pycache__/ __pycache__/
.mypy_cache/ *.pyc
.ruff_cache/ *.pyo
.pytest_cache/ .venv/
backend/.mypy_cache/ venv/
backend/.ruff_cache/
backend/.pytest_cache/
*.py[cod]
*.egg-info/ *.egg-info/
dist/ dist/
build/ build/
*.egg .mypy_cache/
.ruff_cache/
.pytest_cache/
htmlcov/
.coverage
backend/.mypy_cache/
backend/.ruff_cache/
backend/.pytest_cache/
backend/__pycache__/
backend/venv/
# ── Node (WordPress plugin) ────────────────────────────────
node_modules/
.npm/
wp-plugin/node_modules/
# ── Docker ──────────────────────────────────────────────────
docker-compose.override.yml
# ── Data (too large for git, use HF S3) ─────────────────────
data/
*.dump
*.rdb
*.tar.gz
# ── IDE ─────────────────────────────────────────────────────
.vscode/ .vscode/
.idea/ .idea/
*.swp *.swp
*.swo *.swo
Thumbs.db *~
docker-compose.override.yml .DS_Store
venv/
# ── Logs ────────────────────────────────────────────────────
*.log
logs/
# ── Cache ───────────────────────────────────────────────────
.cache/
tmp/
*.tmp