Skip to content
Draft
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
16 changes: 8 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ repos:
- id: check-useless-excludes

- repo: https://github.com/ComPWA/policy
rev: 0.7.3
rev: 0.7.5
hooks:
- id: check-dev-files
args:
Expand All @@ -29,7 +29,7 @@ repos:
- id: set-nb-display-name

- repo: https://github.com/kynan/nbstripout
rev: 0.8.1
rev: 0.8.2
hooks:
- id: nbstripout
args:
Expand Down Expand Up @@ -57,7 +57,7 @@ repos:
metadata.vscode

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.14.0
rev: v0.14.10
hooks:
- id: ruff-check
args: [--fix]
Expand Down Expand Up @@ -107,7 +107,7 @@ repos:
args: [--in-place]

- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.34.1
rev: 0.36.0
hooks:
- id: check-jsonschema
name: Check CITATION.cff
Expand All @@ -120,12 +120,12 @@ repos:
pass_filenames: false

- repo: https://github.com/streetsidesoftware/cspell-cli
rev: v9.2.0
rev: v9.4.0
hooks:
- id: cspell

- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
rev: 3.4.0
rev: 3.6.0
hooks:
- id: editorconfig-checker
name: editorconfig
Expand All @@ -146,11 +146,11 @@ repos:
)$

- repo: https://github.com/ComPWA/pyright-pre-commit
rev: v1.1.406
rev: v1.1.407
hooks:
- id: pyright

- repo: https://github.com/astral-sh/uv-pre-commit
rev: 0.9.2
rev: 0.9.21
hooks:
- id: uv-lock
12 changes: 8 additions & 4 deletions docs/adr/001/operators.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -169,11 +169,15 @@
"source": [
"import operator\n",
"\n",
"MAKE_BINARY = lambda opfn: lambda self, other: BinaryOp( # noqa: E731\n",
" self, asMagicNumber(other), opfn\n",
"MAKE_BINARY = lambda opfn: (\n",
" lambda self, other: BinaryOp( # noqa: E731\n",
" self, asMagicNumber(other), opfn\n",
" )\n",
")\n",
"MAKE_RBINARY = lambda opfn: lambda self, other: BinaryOp( # noqa: E731\n",
" asMagicNumber(other), self, opfn\n",
"MAKE_RBINARY = lambda opfn: (\n",
" lambda self, other: BinaryOp( # noqa: E731\n",
" asMagicNumber(other), self, opfn\n",
" )\n",
")\n",
"\n",
"\n",
Expand Down
Loading