This repo uses pre-commit to run checks before each commit. Install and set up:
pip install pre-commit
pre-commit installHooks included:
- gitleaks — scans for hardcoded secrets (API keys, tokens, passwords). Uses
.gitleaks.tomlfor repo-specific rules and allowlists.
To run all hooks manually:
pre-commit run --all-files