Skip to content

Commit 9b69edd

Browse files
committed
chore: format/lint pre-commit hooks
1 parent f3f65e8 commit 9b69edd

1 file changed

Lines changed: 23 additions & 1 deletion

File tree

‎.pre-commit-config.yaml‎

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,26 @@ repos:
88
hooks:
99
- id: conventional-pre-commit
1010
stages: [commit-msg]
11-
args: []
11+
args: []
12+
13+
- repo: local
14+
hooks:
15+
- id: ruff-check
16+
name: ruff check
17+
entry: pixi run -e dev ruff check
18+
language: system
19+
types_or: [python, pyi]
20+
21+
- id: ruff-format
22+
name: ruff format
23+
entry: pixi run -e dev ruff format --check
24+
language: system
25+
types_or: [python, pyi]
26+
27+
- id: pyright
28+
name: pyright
29+
entry: pixi run -e dev pyright
30+
language: system
31+
types: [python]
32+
pass_filenames: false
33+
require_serial: true

0 commit comments

Comments
 (0)