Skip to content

Commit 919fc34

Browse files
FIX: reduce pre-commit.ci schedule to quarterly (#498)
* MAINT: address Ruff `ty` issues * MAINT: upgrade lock files * MAINT: use colon fences for `concat-autolink`
1 parent 1fac2c9 commit 919fc34

25 files changed

Lines changed: 217 additions & 231 deletions

.pre-commit-config.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
ci:
22
autofix_commit_msg: "MAINT: implement pre-commit autofixes"
33
autoupdate_commit_msg: "MAINT: upgrade lock files"
4+
autoupdate_schedule: quarterly
45
skip:
56
- check-jsonschema
67
- ty
@@ -13,7 +14,7 @@ repos:
1314
- id: check-useless-excludes
1415

1516
- repo: https://github.com/ComPWA/policy
16-
rev: 0.8.3
17+
rev: 0.8.7
1718
hooks:
1819
- id: check-dev-files
1920
args:
@@ -30,7 +31,7 @@ repos:
3031
- id: strip-nb-whitespace
3132

3233
- repo: https://github.com/kynan/nbstripout
33-
rev: 0.9.0
34+
rev: 0.9.1
3435
hooks:
3536
- id: nbstripout
3637
args:
@@ -58,7 +59,7 @@ repos:
5859
metadata.vscode
5960
6061
- repo: https://github.com/astral-sh/ruff-pre-commit
61-
rev: v0.15.1
62+
rev: v0.15.2
6263
hooks:
6364
- id: ruff-check
6465
args: [--fix]
@@ -125,7 +126,7 @@ repos:
125126
pass_filenames: false
126127

127128
- repo: https://github.com/streetsidesoftware/cspell-cli
128-
rev: v9.6.0
129+
rev: v9.7.0
129130
hooks:
130131
- id: cspell
131132

@@ -146,12 +147,11 @@ repos:
146147
name: ty
147148
entry: ty check
148149
args: [--no-progress, --output-format=concise]
149-
pass_filenames: false
150150
require_serial: true
151151
language: system
152152
types_or: [python, pyi, jupyter]
153153

154154
- repo: https://github.com/astral-sh/uv-pre-commit
155-
rev: 0.10.3
155+
rev: 0.10.5
156156
hooks:
157157
- id: uv-lock

docs/amplitude.ipynb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@
66
"source": [
77
"# Formulate amplitude model\n",
88
"\n",
9-
"```{autolink-concat}\n",
10-
"\n",
11-
"```"
9+
":::{autolink-concat}\n",
10+
":::"
1211
]
1312
},
1413
{

docs/amplitude/formalism.ipynb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@
66
"source": [
77
"# Helicity versus canonical\n",
88
"\n",
9-
"```{autolink-concat}\n",
10-
"\n",
11-
"```"
9+
":::{autolink-concat}\n",
10+
":::"
1211
]
1312
},
1413
{

docs/amplitude/interactive.ipynb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@
66
"source": [
77
"# Inspect model interactively\n",
88
"\n",
9-
"```{autolink-concat}\n",
10-
"\n",
11-
"```"
9+
":::{autolink-concat}\n",
10+
":::"
1211
]
1312
},
1413
{

docs/amplitude/modify.ipynb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@
66
"source": [
77
"# Modify amplitude model\n",
88
"\n",
9-
"```{autolink-concat}\n",
10-
"\n",
11-
"```"
9+
":::{autolink-concat}\n",
10+
":::"
1211
]
1312
},
1413
{

docs/amplitude/spin-alignment.ipynb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@
66
"source": [
77
"# Spin alignment\n",
88
"\n",
9-
"```{autolink-concat}\n",
10-
"\n",
11-
"```"
9+
":::{autolink-concat}\n",
10+
":::"
1211
]
1312
},
1413
{

docs/amplitude/symmetrization.ipynb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@
66
"source": [
77
"# Amplitude symmetrization\n",
88
"\n",
9-
"```{autolink-concat}\n",
10-
"\n",
11-
"```"
9+
":::{autolink-concat}\n",
10+
":::"
1211
]
1312
},
1413
{

docs/analyticity/integration-algorithms.ipynb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@
66
"source": [
77
"# Numerical integration\n",
88
"\n",
9-
"```{autolink-concat}\n",
10-
"\n",
11-
"```"
9+
":::{autolink-concat}\n",
10+
":::"
1211
]
1312
},
1413
{

docs/analyticity/phasespace-factor-widget.ipynb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@
66
"source": [
77
"# Phase space factor widget\n",
88
"\n",
9-
"```{autolink-concat}\n",
10-
"\n",
11-
"```"
9+
":::{autolink-concat}\n",
10+
":::"
1211
]
1312
},
1413
{

docs/analyticity/phasespace-factors.ipynb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@
66
"source": [
77
"# Phase space factor definitions\n",
88
"\n",
9-
"```{autolink-concat}\n",
10-
"\n",
11-
"```"
9+
":::{autolink-concat}\n",
10+
":::"
1211
]
1312
},
1413
{

0 commit comments

Comments
 (0)