Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 0 additions & 1 deletion .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
".pre-commit-config.yaml",
".prettierignore",
".readthedocs.yml",
".taplo.toml",
".vscode/*",
"CITATION.cff",
"codecov.yml",
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
name: Performance regression
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
with:
fetch-depth: 0
- uses: actions/setup-python@v6
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/redirect-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
</body>
</html>' > build/index.html
- id: deployment
uses: actions/upload-pages-artifact@v4
uses: actions/upload-pages-artifact@v5
with:
path: build/

Expand Down
66 changes: 28 additions & 38 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ ci:
autoupdate_schedule: quarterly
skip:
- check-jsonschema
- tombi-format
- tombi-lint
- ty
- uv-lock

Expand All @@ -14,23 +16,9 @@ repos:
- id: check-useless-excludes

- repo: https://github.com/ComPWA/policy
rev: 0.8.10
rev: 0.9.0
hooks:
- id: check-dev-files
args:
- --doc-apt-packages=graphviz
- --excluded-python-versions=3.14
- --pytest-single-threaded
- --repo-name=tensorwaves
- --repo-title=TensorWaves
- --type-checker=ty
- id: colab-toc-visible
- id: fix-nbformat-version
- id: remove-empty-tags
- id: set-nb-cells
args: [--autolink-concat]
- id: set-nb-display-name
- id: strip-nb-whitespace

- repo: https://github.com/kynan/nbstripout
rev: 0.9.1
Expand Down Expand Up @@ -60,8 +48,19 @@ repos:
metadata.varInspector
metadata.vscode

- repo: https://github.com/ComPWA/nbhooks
rev: 0.0.1
hooks:
- id: colab-toc-visible
- id: fix-nbformat-version
- id: remove-empty-tags
- id: set-nb-cells
args: [--autolink-concat]
- id: set-nb-display-name
- id: strip-nb-whitespace

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.15.12
rev: v0.15.21
hooks:
- id: ruff-check
args: [--fix]
Expand Down Expand Up @@ -96,25 +95,20 @@ repos:
)$
- id: trailing-whitespace

- repo: https://github.com/tombi-toml/tombi-pre-commit
rev: v1.2.0
hooks:
- id: tombi-format
- id: tombi-lint
args: [--error-on-warnings]

- repo: https://github.com/ComPWA/prettier-pre-commit
rev: v3.8.1
hooks:
- id: prettier

- repo: https://github.com/ComPWA/taplo-pre-commit
rev: v0.9.3
hooks:
- id: taplo-format

- repo: https://github.com/pappasam/toml-sort
rev: v0.24.4
hooks:
- id: toml-sort
args:
- --in-place

- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.37.2
rev: 0.37.4
hooks:
- id: check-jsonschema
name: Check CITATION.cff
Expand All @@ -127,7 +121,7 @@ repos:
pass_filenames: false

- repo: https://github.com/streetsidesoftware/cspell-cli
rev: v10.0.0
rev: v10.0.1
hooks:
- id: cspell
language_version: 25.9.0
Expand All @@ -143,17 +137,13 @@ repos:
.*\.py
)$

- repo: local
- repo: https://github.com/astral-sh/ty-pre-commit
rev: v0.0.59
hooks:
- id: ty
name: ty
entry: ty check
args: [--no-progress, --output-format=concise]
require_serial: true
language: system
types_or: [python, pyi, jupyter]
args: [--group=types, --no-default-groups]

- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.11.13
rev: 0.11.29
hooks:
- id: uv-lock
19 changes: 0 additions & 19 deletions .taplo.toml

This file was deleted.

3 changes: 2 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"soulcode.vscode-unwanted-extensions",
"stkb.rewrap",
"streetsidesoftware.code-spell-checker",
"tamasfe.even-better-toml",
"tombi-toml.tombi",
"yzhang.markdown-all-in-one"
],
"unwantedRecommendations": [
Expand All @@ -34,6 +34,7 @@
"ms-python.vscode-pylance",
"ms-toolsai.vscode-jupyter-slideshow",
"ryanluker.vscode-coverage-gutters",
"tamasfe.even-better-toml",
"travisillig.vscode-json-stable-stringify",
"tyriar.sort-lines"
]
Expand Down
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
"editor.defaultFormatter": "charliermarsh.ruff",
"editor.rulers": [88]
},
"[toml]": {
"editor.defaultFormatter": "tombi-toml.tombi"
},
"[yaml]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
Expand Down
5 changes: 4 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,10 @@ def get_tensorflow_url() -> str:
create_tensorflow_inventory()
set_intersphinx_version_remapping({
"matplotlib": {"3.5.1": "3.5.0"},
"pandas": {"3.0.2": "3.0.1"},
"pandas": {
"3.0.2": "3.0.1",
"3.0.3": "3.0.1",
},
"scipy": {"1.7.3": "1.7.1"},
})

Expand Down
Loading
Loading