File tree Expand file tree Collapse file tree 2 files changed +26
-6
lines changed
Expand file tree Collapse file tree 2 files changed +26
-6
lines changed Original file line number Diff line number Diff line change 3333 run : |
3434 uv sync --dev
3535
36- - name : Lint with black
36+ - name : Run pre-commit
3737 run : |
38- uvx ruff --check .
39-
40- - name : Type check with mypy
41- run : |
42- uv run mypy tempmail
38+ uv run pre-commit run --all-files
4339
4440 - name : Test with pytest
4541 run : |
Original file line number Diff line number Diff line change 1+ exclude : ' .git'
2+ default_stages : [ commit ]
3+
4+ repos :
5+ - repo : https://github.com/pre-commit/pre-commit-hooks
6+ rev : v3.4.0
7+ hooks :
8+ - id : trailing-whitespace
9+ - id : check-yaml
10+
11+ - repo : https://github.com/astral-sh/ruff-pre-commit
12+ rev : v0.12.4
13+ hooks :
14+ - id : ruff-check
15+ args : [ --fix ]
16+ - id : ruff-format
17+
18+ - repo : https://github.com/astral-sh/uv-pre-commit
19+ rev : v0.8.17
20+ hooks :
21+ - id : uv-sync
22+ args : [ --dev ]
23+ - id : uv-lock
24+ args : [ --dev ]
You can’t perform that action at this time.
0 commit comments