mypy
Improve error messages when positional argument is missing
#20591
Merged

Improve error messages when positional argument is missing #20591

KevinRK29
github-actions
JukkaL
JukkaL commented on 2026-01-16
github-actions
github-actions
JukkaL
JukkaL commented on 2026-01-30
github-actions
KevinRK29 KevinRK29 force pushed from 3340653d to 9640b706 138 days ago
github-actions
KevinRK29 KevinRK29 force pushed from 8697344b to d1d525f6 125 days ago
KevinRK29 KevinRK29 requested a review from JukkaL JukkaL 125 days ago
KevinRK29 KevinRK29 marked this pull request as ready for review 125 days ago
KevinRK29 Detect missing positional args and suggest argument in error message
a2368f88
pre-commit-ci[bot] [pre-commit.ci] auto fixes from pre-commit.com hooks
8ea8ea3c
KevinRK29 fallback to preexisting way
1c598bd6
KevinRK29 kept more consistent error messaging
319057c0
pre-commit-ci[bot] [pre-commit.ci] auto fixes from pre-commit.com hooks
2c431a51
KevinRK29 made error messages more consistent and improved test names to not in…
a432f38b
KevinRK29 refactored code
f7b108f2
KevinRK29 handle missing pos args at the end
c967cdbb
KevinRK29 KevinRK29 force pushed from d1d525f6 to c967cdbb 125 days ago
pre-commit-ci[bot] [pre-commit.ci] auto fixes from pre-commit.com hooks
97bce106
github-actions
JukkaL
JukkaL commented on 2026-02-26
KevinRK29 refactor pos arg errors to be more performant
bebf5de1
pre-commit-ci[bot] [pre-commit.ci] auto fixes from pre-commit.com hooks
1ff910c2
github-actions
KevinRK29 KevinRK29 requested a review from JukkaL JukkaL 107 days ago
KevinRK29 KevinRK29 force pushed from 3933fc94 to 1ff910c2 107 days ago
github-actions
KevinRK29 add cheap gate to avoid expensive checks on hot path
d92333d8
github-actions
JukkaL
JukkaL approved these changes on 2026-03-30
JukkaL JukkaL changed the title Improve error messages when positional arguments are missing Improve error messages when positional argument is missing 92 days ago
JukkaL JukkaL merged ef7e8a6b into master 92 days ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone