Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include params only for classes and functions #272

Merged
merged 1 commit into from
Oct 31, 2022

Conversation

llan-ml
Copy link
Contributor

@llan-ml llan-ml commented Sep 27, 2022

This PR lets include_params take effects only for functions and classes, which avoids unnecessary parenthesis in the completion results in some cases.

All tests passed. @ccordoba12

@ccordoba12 ccordoba12 added this to the v1.6.0 milestone Sep 28, 2022
@ccordoba12 ccordoba12 changed the title include params only for classes and functions Include params only for classes and functions Oct 31, 2022
Copy link
Member

@ccordoba12 ccordoba12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is fantastic addition! Thanks a lot @llan-ml for taking the time to do a PR for it!!

@ccordoba12 ccordoba12 merged commit f0ea2ad into python-lsp:develop Oct 31, 2022
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.

2 participants