Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Copy to .env and adjust; do not commit .env with real values.
# Optional: set to 1, true, yes, or on to auto-enable the Django integration at import
# (see xa_transactions.integrations.django).
# XA_ENABLE_DJANGO_INTEGRATION=
11 changes: 11 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,14 @@ dmypy.json
# Project specific
*.db
*.sqlite

# Secrets and local env (never commit real values)
.env
.env.*
!.env.example
*.pem
*.key
id_rsa
id_rsa.pub
*.p12
*.pfx
5 changes: 5 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
# Run manually: pre-commit run --all-files

repos:
- repo: https://github.com/gitleaks/gitleaks
rev: v8.30.0
hooks:
- id: gitleaks

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.9.9
hooks:
Expand Down
Loading