Skip to content

Commit 1a84a94

Browse files
DX: switch to poe as task runner (#306)
* DOC: update developer instructions * DX: open browser after running `doclive` * MAINT: update developer configuration * MAINT: upgrade lock files
1 parent fef1f49 commit 1a84a94

14 files changed

Lines changed: 1249 additions & 1035 deletions

‎.cspell.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,10 @@
9696
"helicity",
9797
"lambdify",
9898
"Mathematica",
99-
"Miniconda",
10099
"Numba",
101100
"NumPy",
102101
"parametrizations",
102+
"Pixi",
103103
"PyPA",
104104
"PyPI",
105105
"pytest",

‎.github/workflows/cd.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ on:
99
jobs:
1010
milestone:
1111
if: startsWith(github.ref, 'refs/tags')
12-
uses: ComPWA/actions/.github/workflows/close-milestone.yml@v2
12+
uses: ComPWA/actions/.github/workflows/close-milestone.yml@v3
1313
push:
1414
if: startsWith(github.ref, 'refs/tags') && !github.event.release.prerelease
1515
secrets: inherit
16-
uses: ComPWA/actions/.github/workflows/push-to-version-branches.yml@v2
16+
uses: ComPWA/actions/.github/workflows/push-to-version-branches.yml@v3

‎.github/workflows/ci.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ on:
2525

2626
jobs:
2727
doc:
28-
uses: ComPWA/actions/.github/workflows/ci-docs.yml@v2.1
28+
uses: ComPWA/actions/.github/workflows/ci-docs.yml@v3.0
2929
permissions:
3030
pages: write
3131
id-token: write
@@ -37,4 +37,4 @@ jobs:
3737
if: inputs.specific-pip-packages == ''
3838
secrets:
3939
token: ${{ secrets.PAT }}
40-
uses: ComPWA/actions/.github/workflows/pre-commit.yml@v2.1
40+
uses: ComPWA/actions/.github/workflows/pre-commit.yml@v3.0

‎.github/workflows/clean-caches.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
name: Remove caches
1717
runs-on: ubuntu-24.04
1818
steps:
19-
- uses: ComPWA/actions/clean-caches@v2
19+
- uses: ComPWA/actions/clean-caches@v3
2020
with:
2121
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2222
ref: ${{ inputs.ref }}

‎.github/workflows/lock.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ on:
1717

1818
jobs:
1919
lock:
20-
uses: ComPWA/actions/.github/workflows/lock.yml@v2
20+
uses: ComPWA/actions/.github/workflows/lock.yml@v3
2121
secrets:
2222
token: ${{ secrets.PAT }}

‎.github/workflows/pr-linting.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ on:
1111

1212
jobs:
1313
lint-pr:
14-
uses: ComPWA/actions/.github/workflows/pr-linting.yml@v2
14+
uses: ComPWA/actions/.github/workflows/pr-linting.yml@v3

‎.gitignore‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ prof/
3535

3636
# Virtual environments
3737
*venv/
38-
.tox/
3938
pyvenv*/
4039

4140
# Settings

‎.pre-commit-config.yaml‎

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
ci:
2-
autoupdate_commit_msg: "MAINT: update lock files"
2+
autofix_commit_msg: "MAINT: implement pre-commit autofixes"
3+
autoupdate_commit_msg: "MAINT: upgrade lock files"
34
autoupdate_schedule: quarterly
45
skip:
56
- check-jsonschema
@@ -13,7 +14,7 @@ repos:
1314
- id: check-useless-excludes
1415

1516
- repo: https://github.com/ComPWA/policy
16-
rev: 0.6.1
17+
rev: 0.7.0
1718
hooks:
1819
- id: check-dev-files
1920
args:
@@ -57,7 +58,7 @@ repos:
5758
metadata.vscode
5859
5960
- repo: https://github.com/astral-sh/ruff-pre-commit
60-
rev: v0.9.3
61+
rev: v0.12.8
6162
hooks:
6263
- id: ruff
6364
args: [--fix]
@@ -66,7 +67,7 @@ repos:
6667
types_or: [python, pyi, jupyter]
6768

6869
- repo: https://github.com/pre-commit/pre-commit-hooks
69-
rev: v5.0.0
70+
rev: v6.0.0
7071
hooks:
7172
- id: check-ast
7273
- id: check-case-conflict
@@ -107,7 +108,7 @@ repos:
107108
args: [--in-place]
108109

109110
- repo: https://github.com/python-jsonschema/check-jsonschema
110-
rev: 0.31.0
111+
rev: 0.33.2
111112
hooks:
112113
- id: check-jsonschema
113114
name: Check CITATION.cff
@@ -120,12 +121,12 @@ repos:
120121
pass_filenames: false
121122

122123
- repo: https://github.com/streetsidesoftware/cspell-cli
123-
rev: v8.17.1
124+
rev: v9.2.0
124125
hooks:
125126
- id: cspell
126127

127128
- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
128-
rev: 3.2.0
129+
rev: 3.2.1
129130
hooks:
130131
- id: editorconfig-checker
131132
name: editorconfig
@@ -146,11 +147,11 @@ repos:
146147
)$
147148
148149
- repo: https://github.com/ComPWA/pyright-pre-commit
149-
rev: v1.1.392
150+
rev: v1.1.403
150151
hooks:
151152
- id: pyright
152153

153154
- repo: https://github.com/astral-sh/uv-pre-commit
154-
rev: 0.5.25
155+
rev: 0.8.8
155156
hooks:
156157
- id: uv-lock

‎.readthedocs.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ build:
1414
uv run \
1515
--group doc \
1616
--no-dev \
17-
--with tox-uv \
18-
tox -e doc
17+
--with poethepoet \
18+
poe doc
1919
mkdir -p $READTHEDOCS_OUTPUT
2020
mv docs/_build/html $READTHEDOCS_OUTPUT
2121

‎.taplo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ reorder_keys = true
1313

1414
[[rule]]
1515
include = ["**/pyproject.toml"]
16-
keys = ["tool.tox"]
16+
keys = ["tool.poe.tasks"]
1717

1818
[rule.formatting]
1919
reorder_arrays = false

0 commit comments

Comments
 (0)