Skip to content

Commit 90c828f

Browse files
committed
chore: add pre-commit-config
1 parent 004ab18 commit 90c828f

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

.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: v6.0.0
4+
hooks:
5+
- id: check-yaml
6+
- id: end-of-file-fixer
7+
- id: trailing-whitespace
8+
9+
- repo: https://github.com/astral-sh/ruff-pre-commit
10+
rev: v0.15.15
11+
hooks:
12+
- id: ruff-check
13+
types_or: [ python, pyi, jupyter, pyproject ]
14+
args: [ --fix ]
15+
- id: ruff-format

0 commit comments

Comments
 (0)