Skip to content

Commit 777885f

Browse files
authored
stubtest: enable checking pos-only differences in dunders (#12184)
1 parent cd3dfbd commit 777885f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

mypy/stubtest.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,6 @@ def _verify_signature(
594594
runtime_arg.kind == inspect.Parameter.POSITIONAL_ONLY
595595
and not stub_arg.variable.name.startswith("__")
596596
and not stub_arg.variable.name.strip("_") == "self"
597-
and not is_dunder(function_name, exclude_special=True) # noisy for dunder methods
598597
):
599598
yield (
600599
'stub argument "{}" should be positional-only '

0 commit comments

Comments
 (0)