Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'master' into stubtest-dunder-posonly
# Conflicts:
#	mypy/stubtest.py
  • Loading branch information
brianschubert committed Aug 23, 2025
commit 8cb404f79c80fee09213628d6a413acef89818da
1 change: 1 addition & 0 deletions mypy/stubtest.py
Original file line number Diff line number Diff line change
Expand Up @@ -1059,6 +1059,7 @@ def _verify_signature(
and not stub_arg.pos_only
and not stub_arg.variable.name.startswith("__")
and stub_arg.variable.name.strip("_") != "self"
and stub_arg.variable.name.strip("_") != "cls"
):
yield (
f'stub parameter "{stub_arg.variable.name}" should be positional-only '
Expand Down
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.