Skip to content

Commit a5b190e

Browse files
committed
add pre-commit config
1 parent 1637473 commit a5b190e

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.pre-commit-config.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v5.0.0
4+
hooks:
5+
- id: trailing-whitespace
6+
- id: check-yaml
7+
- id: check-added-large-files
8+
9+
- repo: https://github.com/astral-sh/ruff-pre-commit
10+
rev: v0.9.10
11+
hooks:
12+
- id: ruff
13+
args: [--fix]
14+
- id: ruff-format

0 commit comments

Comments
 (0)