diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 75a79fc..cdb113b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,13 +9,13 @@ repos: language: python additional_dependencies: [pygments, restructuredtext_lint] - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.15.8 + rev: v0.15.9 hooks: - id: ruff args: ["--fix"] - id: ruff-format - repo: https://github.com/pre-commit/mirrors-mypy - rev: v1.19.1 + rev: v1.20.0 hooks: - id: mypy files: ^(src|tests) diff --git a/tests/test_pytest_mock.py b/tests/test_pytest_mock.py index 7be5729..54baf06 100644 --- a/tests/test_pytest_mock.py +++ b/tests/test_pytest_mock.py @@ -364,7 +364,7 @@ def bar(self, x): Foo().bar(10) assert spy.spy_return == 30 - assert spy.spy_return_iter is None + assert spy.spy_return_iter is None # type:ignore[unreachable] assert spy.spy_return_list == [30] assert spy.spy_exception is None