python / mypy

Optional static typing for Python
https://www.mypy-lang.org/
Other
17.85k stars 2.74k forks source link

Include keyword only args when generating signatures in stubgenc #17448

Closed ericmarkmartin closed 3 days ago

ericmarkmartin commented 4 days ago

Currently, signatures generated for callable by the InspectionStubGenerator won’t include keywords only arguments or their defaults. This change includes them in the generated signatures.