mypy icon indicating copy to clipboard operation
mypy copied to clipboard

stubtest: Add a `--ignore-keyword-only` argument

Open Viicos opened this issue 1 year ago • 0 comments

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

Viicos avatar Feb 02 '24 17:02 Viicos