Skip to content

Commit 4195359

Browse files
sciyoshiclaude
andcommitted
chore: add pre-commit config for ruff, ty, and pytest
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 3614c96 commit 4195359

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.pre-commit-config.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
repos:
2+
- repo: local
3+
hooks:
4+
- id: ruff-format
5+
name: ruff format
6+
entry: uv run ruff format
7+
language: system
8+
types: [python]
9+
10+
- id: ruff-check
11+
name: ruff check
12+
entry: uv run ruff check
13+
language: system
14+
types: [python]
15+
16+
- id: ty-check
17+
name: ty check
18+
entry: uv run ty check
19+
language: system
20+
pass_filenames: false
21+
22+
- id: pytest
23+
name: pytest
24+
entry: uv run pytest
25+
language: system
26+
pass_filenames: false
27+
always_run: true
28+
stages: [pre-commit]

0 commit comments

Comments
 (0)