mypy
ef7e8a6b - Improve error messages when positional argument is missing (#20591)

Commit
91 days ago
Improve error messages when positional argument is missing (#20591) This PR improves error messages when positional argument is missing from a function call. Previously when a user forgets a positional argument, mypy would previously emit multiple type errors because the subsequent arguments would be "shifted" and mismatched with their expected types. Instead of showing multiple type errors, it emits a single consolidated message that suggests which argument might be missing.
Author
Parents
Loading