-
-
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
Mark no-self-use
as moved to extensions
#6932
Mark no-self-use
as moved to extensions
#6932
Conversation
Pull Request Test Coverage Report for Build 2486826741
π - Coveralls |
This comment has been minimized.
This comment has been minimized.
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.
Thank you for the quick reaction !
no-self-use
was not deleted, it's moved to an extension, I think we need to separate the two cases (I plan to document deleted messages for #6670, so there will be an issue if a "deleted messages" contains extensions message that are documented elsewhere). This can't be merged with only the suggestion I made, we also need to check the use so we can merge both dict when applicable or use one or the other for other cases (we'll need to think about it for each use I think).
Co-authored-by: Pierre Sassoulas <[email protected]>
no-self-use
as deleted (moved to extensions)no-self-use
as moved to extensions
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.
π extending the MessageIdStore handling., the good thing is it work for plugin creator too without them having to know about this constant we just added.
Co-authored-by: Pierre Sassoulas <[email protected]>
This comment has been minimized.
This comment has been minimized.
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 π
π€ According to the primer, this change has no effect on the checked open source code. π€π This comment was generated for commit ab40456 |
* Mark `no-self-use` as deleted (moved to extensions) * Separate notions of deleted messages from moved messages Co-authored-by: Pierre Sassoulas <[email protected]>
* Mark `no-self-use` as deleted (moved to extensions) * Separate notions of deleted messages from moved messages Co-authored-by: Pierre Sassoulas <[email protected]>
Type of Changes
Description
See #6931 (comment)
Before
Command line:1:0: W0012: Unknown option value for '--enable', expected a valid pylint message and got 'no-self-use' (unknown-option-value)
After
Command line:1:0: R0022: Useless option value for '--enable', 'no-self-use' was moved to an optional extension, see https://pylint.pycqa.org/en/latest/whatsnew/2/2.14/summary.html#removed-checkers. (useless-option-value)