Skip to content
This repository was archived by the owner on Oct 27, 2025. It is now read-only.

Commit 96ed426

Browse files
committed
chore: setup pre-commit
1 parent 7d8136f commit 96ed426

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.pre-commit-config.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v5.0.0
4+
hooks:
5+
- id: check-added-large-files
6+
- id: check-merge-conflict
7+
- id: detect-private-key
8+
- id: end-of-file-fixer
9+
- id: trailing-whitespace
10+
exclude: '\.py$'
11+
12+
- repo: https://github.com/astral-sh/ruff-pre-commit
13+
rev: v0.11.6
14+
hooks:
15+
- id: ruff
16+
args: [--fix]
17+
- id: ruff-format
18+
19+
- repo: https://github.com/gitleaks/gitleaks
20+
rev: v8.24.3
21+
hooks:
22+
- id: gitleaks

0 commit comments

Comments
 (0)