-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Open
Labels
bugmypy got something wrongmypy got something wrongtopic-callsFunction calls, *args, **kwargs, defaultsFunction calls, *args, **kwargs, defaults
Description
Bug Report
When using specific arguments after providing arguments with *args
, mypy will report an error.
To Reproduce
https://mypy-play.net/?mypy=latest&python=3.11&gist=f8b653e4348ebc7a4006c2a126ed0d85
Expected Behavior
Mypy should succeed.
Actual Behavior
main.py:5: error: Too many arguments for "foo" [call-arg]
Found 1 error in 1 file (checked 1 source file)
Your Environment
See playground
Metadata
Metadata
Assignees
Labels
bugmypy got something wrongmypy got something wrongtopic-callsFunction calls, *args, **kwargs, defaultsFunction calls, *args, **kwargs, defaults