Skip to content

Commit f94b929

Browse files
committed
add pre-commit
1 parent 3be27c7 commit f94b929

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.pre-commit-config.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v4.6.0
4+
hooks:
5+
- id: check-merge-conflict
6+
- id: debug-statements
7+
- id: trailing-whitespace
8+
- id: end-of-file-fixer
9+
- id: check-yaml
10+
- id: check-json
11+
- repo: https://github.com/astral-sh/ruff-pre-commit
12+
rev: v0.4.9
13+
hooks:
14+
- id: ruff
15+
- id: ruff-format

0 commit comments

Comments
 (0)