Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
52e69df
DX: ignore local agent configurations
redeboer Sep 10, 2026
024c40f
MAINT: upgrade lock files
dependabot[bot] Sep 10, 2026
f41b311
MAINT: remove obsolete `via.placeholder.com` link check exception
redeboer Sep 10, 2026
bdc4f18
MAINT: upgrade lock files (#317)
pre-commit-ci[bot] Oct 8, 2026
08b5a25
MAINT: upgrade lock files
web-flow Oct 8, 2026
7db457b
MAINT: upgrade lock files
redeboer Oct 8, 2026
bce8be8
MAINT: fix linting issues
redeboer Oct 8, 2026
e9a1bb5
DOC: link to github.dev instead of open.vscode.dev
redeboer Oct 8, 2026
d436d42
MAINT: ignore Zenodo links in link check
redeboer Oct 8, 2026
58af453
MAINT: use rule names instead of codes in Ruff configuration
redeboer Oct 8, 2026
bcfcd38
MAINT: upgrade lock files
web-flow Oct 8, 2026
c6111f7
MAINT: remove redundant quotes from `rev` values
redeboer Oct 8, 2026
c9098e5
DOC: remove copyright from documentation footer
redeboer Oct 8, 2026
497e450
DOC: restore copyright in documentation footer
redeboer Oct 9, 2026
b027f9e
MAINT: update ComPWA/policy to 0.10.0
redeboer Oct 9, 2026
9351111
MAINT: upgrade lock files
redeboer Oct 9, 2026
ce002f7
DX: upgrade environment to Python 3.14
redeboer Oct 9, 2026
4f8b615
MAINT: implement updates from formatters
web-flow Oct 9, 2026
455952a
MAINT: upgrade GitHub Actions
redeboer Oct 9, 2026
546a365
MAINT: upgrade lock files
web-flow Oct 9, 2026
ee0dfb6
MAINT: implement updates from formatters
web-flow Oct 9, 2026
b9ecdbd
MAINT: upgrade lock files
redeboer Oct 9, 2026
176c081
MAINT: upgrade lock files
redeboer Oct 10, 2026
d448343
MAINT: upgrade lock files
redeboer Oct 11, 2026
77beb74
MAINT: upgrade lock files
redeboer Oct 12, 2026
569cbc2
MAINT: upgrade lock files
redeboer Oct 12, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .binder/runtime.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
python-3.13
python-3.14
1 change: 1 addition & 0 deletions .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
"nbsp",
"nopython",
"poethepoet",
"prek",
"prereleased",
"pycode",
"pygments",
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ on:
jobs:
milestone:
if: startsWith(github.ref, 'refs/tags')
uses: ComPWA/actions/.github/workflows/close-milestone.yml@v4
uses: ComPWA/actions/.github/workflows/close-milestone.yml@313866498eb92c341d7e6b905e09f33a5979dffb # v4.1.4
push:
if: startsWith(github.ref, 'refs/tags') && !github.event.release.prerelease
secrets: inherit
uses: ComPWA/actions/.github/workflows/push-to-version-branches.yml@v4
permissions:
contents: write
uses: ComPWA/actions/.github/workflows/push-to-version-branches.yml@313866498eb92c341d7e6b905e09f33a5979dffb # v4.1.4
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ on:

jobs:
doc:
uses: ComPWA/actions/.github/workflows/ci-docs.yml@v4.0
uses: ComPWA/actions/.github/workflows/ci-docs.yml@313866498eb92c341d7e6b905e09f33a5979dffb # v4.1.4
permissions:
pages: write
id-token: write
Expand All @@ -30,4 +30,4 @@ jobs:
style:
secrets:
token: ${{ secrets.PAT }}
uses: ComPWA/actions/.github/workflows/style.yml@v4.0
uses: ComPWA/actions/.github/workflows/style.yml@313866498eb92c341d7e6b905e09f33a5979dffb # v4.1.4
2 changes: 1 addition & 1 deletion .github/workflows/clean-caches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
name: Remove caches
runs-on: ubuntu-slim
steps:
- uses: ComPWA/actions/clean-caches@v4
- uses: ComPWA/actions/clean-caches@313866498eb92c341d7e6b905e09f33a5979dffb # v4.1.4
with:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ref: ${{ inputs.ref }}
2 changes: 1 addition & 1 deletion .github/workflows/lock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ on:

jobs:
lock:
uses: ComPWA/actions/.github/workflows/lock.yml@v4
uses: ComPWA/actions/.github/workflows/lock.yml@313866498eb92c341d7e6b905e09f33a5979dffb # v4.1.4
secrets:
token: ${{ secrets.PAT }}
2 changes: 1 addition & 1 deletion .github/workflows/pr-linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ on:

jobs:
lint-pr:
uses: ComPWA/actions/.github/workflows/pr-linting.yml@v4
uses: ComPWA/actions/.github/workflows/pr-linting.yml@313866498eb92c341d7e6b905e09f33a5979dffb # v4.1.4
2 changes: 1 addition & 1 deletion .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ jobs:
update_release_draft:
runs-on: ubuntu-slim
steps:
- uses: release-drafter/release-drafter@v7
- uses: release-drafter/release-drafter@978bb0b30c5ee8cdd332ced253758157150d43f0 # v7.10.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@ prof/
pyvenv*/

# Settings
.agents/
.claude/
.codex/
.gemini/
AGENTS.md
CLAUDE.md
GEMINI.md
.idea/
**.code-workspace

Expand Down
19 changes: 9 additions & 10 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ repos:
- id: check-useless-excludes

- repo: https://github.com/ComPWA/policy
rev: 0.9.0
rev: 0.10.1
hooks:
- id: check-dev-files

Expand Down Expand Up @@ -49,7 +49,7 @@ repos:
metadata.vscode

- repo: https://github.com/ComPWA/nbhooks
rev: 0.0.1
rev: 0.0.2
hooks:
- id: colab-toc-visible
- id: fix-nbformat-version
Expand All @@ -58,7 +58,7 @@ repos:
- id: strip-nb-whitespace

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.21
rev: v0.17.0
hooks:
- id: ruff-check
args: [--fix]
Expand Down Expand Up @@ -92,7 +92,7 @@ repos:
)$

- repo: https://github.com/tombi-toml/tombi-pre-commit
rev: v1.2.0
rev: v1.8.2
hooks:
- id: tombi-format
- id: tombi-lint
Expand All @@ -104,7 +104,7 @@ repos:
- id: prettier

- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.37.4
rev: 0.38.2
hooks:
- id: check-jsonschema
name: Check CITATION.cff
Expand All @@ -117,13 +117,12 @@ repos:
pass_filenames: false

- repo: https://github.com/streetsidesoftware/cspell-cli
rev: v10.0.1
rev: v10.3.0
hooks:
- id: cspell
language_version: 25.9.0

- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
rev: 3.6.1
rev: 3.11.1
hooks:
- id: editorconfig-checker
name: editorconfig
Expand All @@ -144,12 +143,12 @@ repos:
)$

- repo: https://github.com/astral-sh/ty-pre-commit
rev: v0.0.59
rev: v0.0.86
hooks:
- id: ty
args: [--group=types, --no-default-groups]

- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.11.28
rev: 0.13.0
hooks:
- id: uv-lock
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: 2
build:
os: ubuntu-24.04
tools:
python: "3.13"
python: "3.14"
commands:
- |-
export PIXI_HOME=$READTHEDOCS_VIRTUALENV_PATH
Expand Down
10 changes: 5 additions & 5 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,22 @@ uv sync --all-extras
source .venv/bin/activate
```

Formatting and linting checks are automatically performed when committing changes. This is done with [pre-commit](https://pre-commit.com). To install the hooks in your local repository, run install `pre-commit` with `uv`:
Formatting and linting checks are automatically performed when committing changes. This is done with [prek](https://prek.j178.dev), a drop-in replacement for [pre-commit](https://pre-commit.com) that reads the same `.pre-commit-config.yaml` file. To install the hooks in your local repository, [install `prek`](https://prek.j178.dev/installation) with `uv`:

```shell
uv tool install pre-commit --with pre-commit-uv --force-reinstall --python=3.13
uv tool install prek --force-reinstall
```

and [`pre-commit install`](https://pre-commit.com/#3-install-the-git-hook-scripts) **once**:
and run [`prek install`](https://prek.j178.dev/reference/cli/) **once**:

```shell
pre-commit install --install-hooks
prek install --prepare-hooks
```

[Poe the Poet](https://poethepoet.natn.io) is used as a task runner. Install it globally (within your home folder) with `uv`:

```shell
uv tool install poethepoet --force-reinstall --python=3.13
uv tool install poethepoet --force-reinstall --python=3.14
```

You can see which local CI checks it defines by running
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[![CI](https://github.com/ComPWA/compwa.github.io/actions/workflows/ci.yml/badge.svg)](https://github.com/ComPWA/compwa.github.io/actions/workflows/ci.yml)
[![Binder](https://static.mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/ComPWA/compwa.github.io/main)
[![Google Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/ComPWA/compwa.github.io/blob/main)
[![Open in Visual Studio Code](https://img.shields.io/badge/vscode-open-blue?logo=visualstudiocode)](https://open.vscode.dev/ComPWA/compwa.github.io)
[![Open in Visual Studio Code](https://img.shields.io/badge/vscode-open-blue?logo=visualstudiocode)](https://github.dev/ComPWA/compwa.github.io)
[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/ComPWA/compwa.github.io/main.svg)](https://results.pre-commit.ci/latest/github/ComPWA/compwa.github.io/main)
[![Spelling checked](https://img.shields.io/badge/cspell-checked-brightgreen.svg)](https://github.com/streetsidesoftware/cspell/tree/main/packages/cspell)
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
Expand Down
6 changes: 3 additions & 3 deletions docs/adr/002/expr.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
" @classmethod\n",
" def from_graph(\n",
" cls, graph: StateTransitionGraph, edge_id: int\n",
" ) -> \"RelativisticBreitWigner\":\n",
" ) -> RelativisticBreitWigner:\n",
" edge_ids = determine_attached_final_state(graph, edge_id)\n",
" final_state_ids = map(str, edge_ids)\n",
" mass = sp.Symbol(f\"m_{{{'+'.join(final_state_ids)}}}\")\n",
Expand Down Expand Up @@ -224,7 +224,7 @@
" @classmethod\n",
" def from_graph(\n",
" cls, graph: StateTransitionGraph, edge_id: int\n",
" ) -> \"RelativisticBreitWignerWithFF\":\n",
" ) -> RelativisticBreitWignerWithFF:\n",
" edge_ids = determine_attached_final_state(graph, edge_id)\n",
" final_state_ids = map(str, edge_ids)\n",
" mass = sp.Symbol(f\"m_{{{'+'.join(final_state_ids)}}}\")\n",
Expand Down Expand Up @@ -551,7 +551,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.13.12"
"version": "3.14.8"
}
},
"nbformat": 4,
Expand Down
6 changes: 3 additions & 3 deletions docs/adr/002/function.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
" @classmethod\n",
" def from_graph(\n",
" cls, graph: StateTransitionGraph, edge_id: int\n",
" ) -> \"RelativisticBreitWigner\":\n",
" ) -> RelativisticBreitWigner:\n",
" edge_ids = determine_attached_final_state(graph, edge_id)\n",
" final_state_ids = map(str, edge_ids)\n",
" mass = sp.Symbol(f\"m_{{{'+'.join(final_state_ids)}}}\")\n",
Expand Down Expand Up @@ -138,7 +138,7 @@
" @classmethod\n",
" def from_graph(\n",
" cls, graph: StateTransitionGraph, edge_id: int\n",
" ) -> \"RelativisticBreitWignerWithFF\":\n",
" ) -> RelativisticBreitWignerWithFF:\n",
" edge_ids = determine_attached_final_state(graph, edge_id)\n",
" final_state_ids = map(str, edge_ids)\n",
" mass = sp.Symbol(f\"m_{{{'+'.join(final_state_ids)}}}\")\n",
Expand Down Expand Up @@ -216,7 +216,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.13.12"
"version": "3.14.8"
}
},
"nbformat": 4,
Expand Down
5 changes: 3 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,24 +154,25 @@
"https://doi.org/10.1002/andp.19955070504", # 403 for onlinelibrary.wiley.com
"https://doi.org/10.1103", # 403 for journals.aps.org
"https://doi.org/10.1155/2020/6674595", # 403 hindawi.com
"https://doi.org/10.5281/zenodo", # 403 for zenodo.org
"https://doi.org/10.7566/JPSCP.26.022002", # 403 for journals.jps.jp
"https://downloads.hindawi.com", # 403
"https://github.com/organizations/ComPWA/settings/repository-defaults", # private
"https://github.com/search",
"https://github.dev",
"https://ieeexplore.ieee.org/document/6312940", # 401
"https://indico.ific.uv.es/event/6803", # SSL error
"https://journals.aps.org",
"https://leetcode.com",
"https://mybinder.org", # often instable
"https://open.vscode.dev",
"https://rosettacode.org",
"https://stackoverflow.com",
"https://via.placeholder.com", # irregular timeout
"https://www.andiamo.co.uk/resources/iso-language-codes", # 443, but works
"https://www.bookfinder.com",
"https://www.guru99.com/types-of-software-testing.html",
"https://www.mathworks.com/products/matlab.html",
"https://www.npmjs.com/package",
"https://zenodo.org", # 403
r"https://github.com/ComPWA/RUB-EP1-AG/.*", # private
r"https://github.com/orgs/ComPWA/projects/\d+", # private
]
Expand Down
6 changes: 3 additions & 3 deletions docs/develop.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Help developing

[![Open in Visual Studio Code](https://img.shields.io/badge/vscode-open-blue?logo=visualstudiocode)](https://open.vscode.dev/ComPWA/compwa.github.io)
[![Open in Visual Studio Code](https://img.shields.io/badge/vscode-open-blue?logo=visualstudiocode)](https://github.dev/ComPWA/compwa.github.io)

This page describes some of the tools and conventions followed by
[Common Partial Wave Analysis](https://github.com/ComPWA). Where possible, we use the
Expand Down Expand Up @@ -33,14 +33,14 @@ pixi shell
In addition, [`pre-commit`](https://pre-commit.com) is used to enforce style checks and can be installed with::

```shell
uv tool install --python=3.13 --with pre-commit-uv pre-commit
uv tool install --python=3.14 --with pre-commit-uv pre-commit
pre-commit install --install-hooks
```

In `uv`-only projects, [Poe the Poet](https://poethepoet.natn.io) is used as task runner and can be installed with:

```shell
uv tool install --python=3.13 poethepoet
uv tool install --python=3.14 poethepoet
```

See {ref}`develop:Virtual environment` for more info.
Expand Down
Loading
Loading