We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d99f7c commit 629aee7Copy full SHA for 629aee7
mypy/stubtest.py
@@ -618,6 +618,7 @@ def _verify_signature(
618
runtime_arg.kind == inspect.Parameter.POSITIONAL_ONLY
619
and not stub_arg.variable.name.startswith("__")
620
and not stub_arg.variable.name.strip("_") == "self"
621
+ and not is_dunder(function_name, exclude_special=True) # noisy for dunder methods
622
):
623
yield (
624
'stub argument "{}" should be positional-only '
0 commit comments