diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b8febc20..573512e9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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: @@ -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: @@ -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] @@ -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 @@ -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 @@ -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 diff --git a/docs/adr/001/operators.ipynb b/docs/adr/001/operators.ipynb index d5bbc939..2d024dad 100644 --- a/docs/adr/001/operators.ipynb +++ b/docs/adr/001/operators.ipynb @@ -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",