Skip to content

Commit dabbed8

Browse files
[pre-commit.ci] pre-commit autoupdate (#300)
1 parent be6981e commit dabbed8

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ repos:
66
- id: black
77
args: [--safe, --quiet]
88
- repo: https://github.com/pre-commit/pre-commit-hooks
9-
rev: v4.2.0
9+
rev: v4.3.0
1010
hooks:
1111
- id: trailing-whitespace
1212
- id: end-of-file-fixer
@@ -24,7 +24,7 @@ repos:
2424
- id: reorder-python-imports
2525
args: ['--application-directories=.:src']
2626
- repo: https://github.com/pre-commit/mirrors-mypy
27-
rev: v0.960 # NOTE: keep this in sync with tox.ini
27+
rev: v0.961 # NOTE: keep this in sync with tox.ini
2828
hooks:
2929
- id: mypy
3030
files: ^(src|tests)

tests/test_pytest_mock.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,8 +235,11 @@ def test_failure_message_with_no_name(self, mocker: MagicMock) -> None:
235235
@pytest.mark.parametrize("name", (None, "", "f", "The Castle of aaarrrrggh"))
236236
def test_failure_message_with_name(self, mocker: MagicMock, name: str) -> None:
237237
self.__test_failure_message(mocker, name=name)
238-
239-
@pytest.mark.skipif(sys.version_info[:2] < (3, 8), reason="This Python version doesn't have `AsyncMock`.")
238+
239+
@pytest.mark.skipif(
240+
sys.version_info[:2] < (3, 8),
241+
reason="This Python version doesn't have `AsyncMock`.",
242+
)
240243
def test_async_stub_type(self, mocker: MockerFixture) -> None:
241244
assert isinstance(mocker.async_stub(), AsyncMock)
242245

0 commit comments

Comments
 (0)