File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ templates :
2+ run : run --no-sync
3+
14pre-commit :
25 parallel : true
3- commands :
4- ruff-check :
5- glob : " *.{py,pyi}"
6- run : uv run --no-sync ruff check --fix {staged_files}
7- stage_fixed : true
8- ruff-format :
6+ jobs :
7+ - name : ruff
98 glob : " *.{py,pyi}"
10- run : uv run --no-sync ruff format {staged_files}
119 stage_fixed : true
12- ignore-format :
10+ group :
11+ piped : true
12+ jobs :
13+ - name : check
14+ run : uv {run} ruff check --fix {staged_files}
15+
16+ - name : format
17+ run : uv {run} ruff format {staged_files}
18+
19+ - name : format_ignores
1320 glob : " *.{py,pyi}"
14- run : uv run --no-sync tool/format_ignores.py {staged_files}
1521 stage_fixed : true
22+ run : uv {run} tool/format_ignores.py {staged_files}
1623 exclude :
1724 - " tool/test/test_format_ignores.py"
18- docs-check :
25+
26+ - name : basedpyright
27+ glob : " *.{py,pyi}"
28+ run : uv {run} basedpyright --threads=3 {staged_files}
29+
30+ - name : mkdocs
1931 glob :
2032 - " docs/**"
21- - " mkdocs.yml"
2233 - " CONTRIBUTING.md"
23- run : uv run --no-sync mkdocs build
34+ - " mkdocs.yml"
35+ - " uv.lock"
36+ run : uv {run} mkdocs build
2437
2538post-checkout :
26- commands :
27- dependencies :
39+ jobs :
40+ - run : uv sync
2841 glob : uv.lock
29- run : uv sync
3042
3143post-merge :
3244 files : " git diff-tree -r --name-only --no-commit-id ORIG_HEAD HEAD"
33- commands :
34- dependencies :
45+ jobs :
46+ - run : uv sync
3547 glob : uv.lock
36- run : uv sync
You can’t perform that action at this time.
0 commit comments