Skip to content

Commit 8b2efd4

Browse files
chore: add pre-commit hooks for ruff check and format
Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 8be89b6 commit 8b2efd4

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.pre-commit-config.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
repos:
2+
- repo: https://github.com/astral-sh/ruff-pre-commit
3+
rev: v0.8.4
4+
hooks:
5+
- id: ruff
6+
args: [--fix]
7+
- id: ruff-format

0 commit comments

Comments
 (0)