44 autoupdate_schedule : quarterly
55 skip :
66 - check-jsonschema
7- - pyright
7+ - ty
88 - uv-lock
99
1010repos :
1414 - id : check-useless-excludes
1515
1616 - repo : https://github.com/ComPWA/policy
17- rev : 0.7.3
17+ rev : 0.8.6
1818 hooks :
1919 - id : check-dev-files
2020 args :
@@ -23,13 +23,15 @@ repos:
2323 - --no-pypi
2424 - --repo-name=compwa.github.io
2525 - --repo-title=ComPWA Organization
26+ - --type-checker=ty
2627 - id : colab-toc-visible
2728 - id : fix-nbformat-version
2829 - id : remove-empty-tags
2930 - id : set-nb-display-name
31+ - id : strip-nb-whitespace
3032
3133 - repo : https://github.com/kynan/nbstripout
32- rev : 0.8.1
34+ rev : 0.9.0
3335 hooks :
3436 - id : nbstripout
3537 args :
5759 metadata.vscode
5860
5961 - repo : https://github.com/astral-sh/ruff-pre-commit
60- rev : v0.14.0
62+ rev : v0.15.1
6163 hooks :
6264 - id : ruff-check
6365 args : [--fix]
9193 )$
9294
9395 - repo : https://github.com/ComPWA/prettier-pre-commit
94- rev : v3.4.2
96+ rev : v3.8.1
9597 hooks :
9698 - id : prettier
9799
@@ -107,7 +109,7 @@ repos:
107109 args : [--in-place]
108110
109111 - repo : https://github.com/python-jsonschema/check-jsonschema
110- rev : 0.34.1
112+ rev : 0.36.2
111113 hooks :
112114 - id : check-jsonschema
113115 name : Check CITATION.cff
@@ -120,12 +122,12 @@ repos:
120122 pass_filenames : false
121123
122124 - repo : https://github.com/streetsidesoftware/cspell-cli
123- rev : v9.2 .0
125+ rev : v9.6 .0
124126 hooks :
125127 - id : cspell
126128
127129 - repo : https://github.com/editorconfig-checker/editorconfig-checker.python
128- rev : 3.4 .0
130+ rev : 3.6 .0
129131 hooks :
130132 - id : editorconfig-checker
131133 name : editorconfig
@@ -145,12 +147,17 @@ repos:
145147 docs/favicon.ico
146148 )$
147149
148- - repo : https://github.com/ComPWA/pyright-pre-commit
149- rev : v1.1.406
150+ - repo : local
150151 hooks :
151- - id : pyright
152+ - id : ty
153+ name : ty
154+ entry : ty check
155+ args : [--no-progress, --output-format=concise]
156+ require_serial : true
157+ language : system
158+ types_or : [python, pyi, jupyter]
152159
153160 - repo : https://github.com/astral-sh/uv-pre-commit
154- rev : 0.9.2
161+ rev : 0.10.4
155162 hooks :
156163 - id : uv-lock
0 commit comments