Skip to content

Commit 6f9ee0b

Browse files
committed
chore: add .pre-commit-config.yaml
1 parent a41f011 commit 6f9ee0b

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

.pre-commit-config.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
repos:
2+
- repo: https://github.com/astral-sh/ruff-pre-commit
3+
rev: v0.15.6
4+
hooks:
5+
- id: ruff
6+
args: [--fix]
7+
- id: ruff-format
8+
- repo: https://github.com/pre-commit/pre-commit-hooks
9+
rev: v4.6.0
10+
hooks:
11+
- id: check-yaml
12+
- id: check-merge-conflict
13+
- id: check-added-large-files
14+
args: [--maxkb=5000]
15+
- id: end-of-file-fixer
16+
- id: trailing-whitespace

0 commit comments

Comments
 (0)