44 autoupdate_schedule : quarterly
55 skip :
66 - check-jsonschema
7+ - tombi-format
8+ - tombi-lint
79 - ty
810 - uv-lock
911
@@ -14,21 +16,9 @@ repos:
1416 - id : check-useless-excludes
1517
1618 - repo : https://github.com/ComPWA/policy
17- rev : 0.8.13
19+ rev : 0.9.0
1820 hooks :
1921 - id : check-dev-files
20- args :
21- - --doc-apt-packages=graphviz
22- - --repo-name=ampform
23- - --repo-title=AmpForm
24- - --type-checker=ty
25- - id : colab-toc-visible
26- - id : fix-nbformat-version
27- - id : remove-empty-tags
28- - id : set-nb-cells
29- args : [--autolink-concat]
30- - id : set-nb-display-name
31- - id : strip-nb-whitespace
3222
3323 - repo : https://github.com/kynan/nbstripout
3424 rev : 0.9.1
@@ -58,8 +48,19 @@ repos:
5848 metadata.varInspector
5949 metadata.vscode
6050
51+ - repo : https://github.com/ComPWA/nbhooks
52+ rev : 0.0.1
53+ hooks :
54+ - id : colab-toc-visible
55+ - id : fix-nbformat-version
56+ - id : remove-empty-tags
57+ - id : set-nb-cells
58+ args : [--autolink-concat]
59+ - id : set-nb-display-name
60+ - id : strip-nb-whitespace
61+
6162 - repo : https://github.com/astral-sh/ruff-pre-commit
62- rev : v0.15.16
63+ rev : v0.15.21
6364 hooks :
6465 - id : ruff-check
6566 args : [--fix]
@@ -95,25 +96,20 @@ repos:
9596 )$
9697 - id : trailing-whitespace
9798
99+ - repo : https://github.com/tombi-toml/tombi-pre-commit
100+ rev : v1.2.0
101+ hooks :
102+ - id : tombi-format
103+ - id : tombi-lint
104+ args : [--error-on-warnings]
105+
98106 - repo : https://github.com/ComPWA/prettier-pre-commit
99107 rev : v3.8.1
100108 hooks :
101109 - id : prettier
102110
103- - repo : https://github.com/ComPWA/taplo-pre-commit
104- rev : v0.9.3
105- hooks :
106- - id : taplo-format
107-
108- - repo : https://github.com/pappasam/toml-sort
109- rev : v0.24.4
110- hooks :
111- - id : toml-sort
112- args :
113- - --in-place
114-
115111 - repo : https://github.com/python-jsonschema/check-jsonschema
116- rev : 0.37.2
112+ rev : 0.37.4
117113 hooks :
118114 - id : check-jsonschema
119115 name : Check CITATION.cff
@@ -126,7 +122,7 @@ repos:
126122 pass_filenames : false
127123
128124 - repo : https://github.com/streetsidesoftware/cspell-cli
129- rev : v10.0.0
125+ rev : v10.0.1
130126 hooks :
131127 - id : cspell
132128 language_version : 25.9.0
@@ -142,17 +138,13 @@ repos:
142138 .*\.py
143139 )$
144140
145- - repo : local
141+ - repo : https://github.com/astral-sh/ty-pre-commit
142+ rev : v0.0.59
146143 hooks :
147144 - id : ty
148- name : ty
149- entry : ty check
150- args : [--no-progress, --output-format=concise]
151- require_serial : true
152- language : system
153- types_or : [python, pyi, jupyter]
145+ args : [--group=types, --no-default-groups]
154146
155147 - repo : https://github.com/astral-sh/uv-pre-commit
156- rev : 0.11.19
148+ rev : 0.11.28
157149 hooks :
158150 - id : uv-lock
0 commit comments