Skip to content

Commit 94605bf

Browse files
committedSep 8, 2024
Add pre-commit config
1 parent bdc90eb commit 94605bf

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
 

‎.pre-commit-config.yaml

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# See https://pre-commit.com for more information
2+
# See https://pre-commit.com/hooks.html for more hooks
3+
repos:
4+
- repo: https://github.com/astral-sh/ruff-pre-commit
5+
rev: v0.6.4
6+
hooks:
7+
- id: ruff
8+
name: ruff lint check
9+
args: [--fix]
10+
- id: ruff-format
11+
name: ruff format check

0 commit comments

Comments
 (0)
Please sign in to comment.