Skip to content

Commit 07be16e

Browse files
[pre-commit.ci] pre-commit autoupdate (#571)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.15.8 → v0.15.9](astral-sh/ruff-pre-commit@v0.15.8...v0.15.9) - [github.com/pre-commit/mirrors-mypy: v1.19.1 → v1.20.0](pre-commit/mirrors-mypy@v1.19.1...v1.20.0) * Update test_pytest_mock.py --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Bruno Oliveira <bruno@pytest.org>
1 parent 2cdab82 commit 07be16e

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ repos:
99
language: python
1010
additional_dependencies: [pygments, restructuredtext_lint]
1111
- repo: https://github.com/astral-sh/ruff-pre-commit
12-
rev: v0.15.8
12+
rev: v0.15.9
1313
hooks:
1414
- id: ruff
1515
args: ["--fix"]
1616
- id: ruff-format
1717
- repo: https://github.com/pre-commit/mirrors-mypy
18-
rev: v1.19.1
18+
rev: v1.20.0
1919
hooks:
2020
- id: mypy
2121
files: ^(src|tests)

tests/test_pytest_mock.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ def bar(self, x):
364364

365365
Foo().bar(10)
366366
assert spy.spy_return == 30
367-
assert spy.spy_return_iter is None
367+
assert spy.spy_return_iter is None # type:ignore[unreachable]
368368
assert spy.spy_return_list == [30]
369369
assert spy.spy_exception is None
370370

0 commit comments

Comments
 (0)