diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4493f1de..95876d99 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -96,23 +96,23 @@ repos: docs/.*\.ipynb )$ - repo: "https://github.com/pre-commit/pre-commit-hooks" - rev: "v4.6.0" + rev: "v5.0.0" hooks: - id: "end-of-file-fixer" - id: "trailing-whitespace" - repo: "https://github.com/iterative/dvc" - rev: "3.51.2" + rev: "3.58.0" hooks: - id: "dvc-post-checkout" additional_dependencies: ["dvc[gs]"] - id: "dvc-pre-push" additional_dependencies: ["dvc[gs]"] - repo: "https://github.com/DavidAnson/markdownlint-cli2" - rev: "v0.13.0" + rev: "v0.17.1" hooks: - id: "markdownlint-cli2" - repo: "https://github.com/srstevenson/nb-clean" - rev: "3.3.0" + rev: "4.0.1" hooks: - id: "nb-clean" args: @@ -128,7 +128,7 @@ repos: |tests/.* )$ - repo: "https://github.com/rbubley/mirrors-prettier" - rev: "v3.3.3" + rev: "v3.4.2" hooks: - id: "prettier" - repo: https://github.com/ComPWA/taplo-pre-commit @@ -136,7 +136,7 @@ repos: hooks: - id: "taplo-format" - repo: "https://github.com/charliermarsh/ruff-pre-commit" - rev: "v0.5.1" + rev: "v0.8.6" hooks: - id: "ruff" args: ["--extend-fixable", "PIE790"] diff --git a/tests/conftest.py b/tests/conftest.py index 227571d7..558b31af 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -256,7 +256,7 @@ def pytest_harvest_xdist_worker_dump(worker_id, session_items, fixture_store): pickle.dump((session_items, fixture_store), f) except Exception as e: # noqa: BLE001 warning( # noqa: PLE1206 - "Error while pickling worker %s's harvested results: " "[%s] %s", + "Error while pickling worker %s's harvested results: [%s] %s", (worker_id, e.__class__, e), ) return True