Skip to content

Commit be28689

Browse files
KYBvWHxWtbag999claude
authored
chore: add pre-commit hooks (gitleaks + linting) (#22)
Closes #21 Co-authored-by: gss <tbag9199@gmail.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 222e67b commit be28689

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

.pre-commit-config.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
repos:
2+
- repo: https://github.com/gitleaks/gitleaks
3+
rev: v8.21.2
4+
hooks:
5+
- id: gitleaks
6+
- repo: https://github.com/astral-sh/ruff-pre-commit
7+
rev: v0.11.8
8+
hooks:
9+
- id: ruff
10+
args: [--fix]
11+
- id: ruff-format
12+

0 commit comments

Comments
 (0)