Skip to content

Conversation

@Viicos
Copy link
Contributor

@Viicos Viicos commented Feb 2, 2024

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 typeddjango/django-stubs#1900 for an example use case

@Viicos Viicos force-pushed the stubtest-ignore-positional-only branch from 9d9e60d to aef90a3 Compare February 2, 2024 17:22
@JelleZijlstra JelleZijlstra changed the title stubtest: Add a --ignore-positional-only argument stubtest: Add a --ignore-keyword-only argument Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant