Skip to content

Commit 8867b1c

Browse files
[mypy] Add noqa on suposedly working code
1 parent 7f2fe82 commit 8867b1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pluggy/_callers.py

Lines changed: 1 addition & 1 deletion
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)