-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Move no-self-use
to optional extension
#6448
Conversation
Pull Request Test Coverage Report for Build 2277033644
💛 - Coveralls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great 👍 The fact that we had so much disable for it in our own code, is proof that it should not be enabled by default. I like that you actually made a standalone checker, independent and fully typed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems like there's no functional test specific to this check, and the coverage is low for some part. Would you mind recreating a covering functional test ?
Co-authored-by: Pierre Sassoulas <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
For some reason |
Saw that one too. A bit strange tbh. I can't reproduce the warnings locally although they are valid. I've added a disabled comment for the one instance directly caused by this change. This should allow us to move forward with it. The rest can be addressed sometime later. |
@cdce8p The CI job still fails. Do you want to do a follow-up to unblock |
I'll open a PR shortly. Interestingly, now |
Looks like 2.14 added bad-option-value: https://pylint.pycqa.org/en/latest/whatsnew/2/2.14/full.html locally-enabled is long gone: pylint-dev/pylint#2442 and so is bad-continuation: pylint-dev/pylint#3571 no-self-use was moved to an extension in this release: pylint-dev/pylint#6448
It was made an optional checker that must be installed in 2.14.0: pylint-dev/pylint#6448
It was made an optional checker that must be installed in 2.14.0: pylint-dev/pylint#6448
Description
Create new optional extension for
no-self-use
and move check.Closes #5502