mypy
mypy copied to clipboard
stubtest: Add a `--ignore-keyword-only` argument
Similar to --ignore-positional-only, but for kw only.
It is sometimes common to make some arguments keyword only in stubs even if not at runtime, e.g. when defining overloads.
See https://github.com/typeddjango/django-stubs/pull/1900 for an example use case