You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Include keyword only args when generating signatures in stubgenc (#17448)
<!-- If this pull request fixes an issue, add "Fixes #NNN" with the
issue number. -->
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.
<!--
Checklist:
- Read the [Contributing
Guidelines](https://github.com/python/mypy/blob/master/CONTRIBUTING.md)
- Add tests for all changed behaviour.
- If you can't add a test, please explain why and how you verified your
changes work.
- Make sure CI passes.
- Please do not force push to the PR once it has been reviewed.
-->
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
0 commit comments