Skip to content

mypy does not check missing required keyword-only argument #2437

@elazarg

Description

@elazarg

Test case:

def foo(a: int, *, b: str) -> None: pass
def bar(a: int, *x, b: str) -> None: pass

foo(1)
bar(1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugmypy got something wrong

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions