Zion Boggan zionboggan.com ↗

pre-commit hooks: ruff, gitleaks, bandit

74b0e04   Zion Boggan committed on Apr 16, 2026 (2 months ago)
.pre-commit-config.yaml +18 -0
@@ -0,0 +1,18 @@
+repos:
+ - repo: https://github.com/astral-sh/ruff-pre-commit
+ rev: v0.6.9
+ hooks:
+ - id: ruff
+ args: [--fix]
+
+ - repo: https://github.com/gitleaks/gitleaks
+ rev: v8.18.4
+ hooks:
+ - id: gitleaks
+
+ - repo: https://github.com/PyCQA/bandit
+ rev: 1.7.10
+ hooks:
+ - id: bandit
+ args: ["-c", "pyproject.toml"]
+ additional_dependencies: ["bandit[toml]"]