From 29bdac655f6b53177a40b7fcfbb1a18d435b5e5e Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 6 Apr 2026 21:41:35 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/astral-sh/ruff-pre-commit: v0.15.8 → v0.15.9](https://github.com/astral-sh/ruff-pre-commit/compare/v0.15.8...v0.15.9) - [github.com/pre-commit/mirrors-mypy: v1.19.1 → v1.20.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.19.1...v1.20.0) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) From ad90247779c2f841286a9202aed94384714d7666 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Tue, 7 Apr 2026 15:10:22 -0300 Subject: [PATCH 2/2] Update test_pytest_mock.py --- tests/test_pytest_mock.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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