Skip to content

Commit 863e6bc

Browse files
authored
Merge pull request #566 from pytest-dev/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2 parents 4eb41bb + 8867b1c commit 863e6bc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.pre-commit-config.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/astral-sh/ruff-pre-commit
3-
rev: "v0.9.4"
3+
rev: "v0.9.7"
44
hooks:
55
- id: ruff
66
args: ["--fix"]
@@ -43,7 +43,7 @@ repos:
4343
language: python
4444
additional_dependencies: [pygments, restructuredtext_lint]
4545
- repo: https://github.com/pre-commit/mirrors-mypy
46-
rev: v1.14.1
46+
rev: v1.15.0
4747
hooks:
4848
- id: mypy
4949
files: ^(src/|testing/)

src/pluggy/_callers.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def _raise_wrapfail(
3232
),
3333
msg: str,
3434
) -> NoReturn:
35-
co = wrap_controller.gi_code
35+
co = wrap_controller.gi_code # type: ignore[union-attr]
3636
raise RuntimeError(
3737
f"wrap_controller at {co.co_name!r} {co.co_filename}:{co.co_firstlineno} {msg}"
3838
)

0 commit comments

Comments
 (0)