-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Enable pylint checks with Ruff and remove pylint from lintrunner #5589
Conversation
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.
To confirm, so this PR will use Ruff with new enabled checks to replace existing pylint? Will "PLC", "PLE", "PLW" cover all existing pylint?
Signed-off-by: Justin Chu <justinchu@microsoft.com>
Signed-off-by: Justin Chu <justinchu@microsoft.com>
Signed-off-by: Justin Chu <justinchu@microsoft.com>
Signed-off-by: Justin Chu <justinchu@microsoft.com>
0ea8943
to
486224a
Compare
That's right. I changed to use |
Signed-off-by: Justin Chu <justinchu@microsoft.com>
0dd3865
to
d98c56c
Compare
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.
LGTM. Thanks!
cc @gramalingam or @xadupre for approval |
Description
Remove the
pylint
linter in favor of thePL
rules provided by ruff. This change removes all of thepylint: disable
directives in comments and addednoqa
directives accordingly for ruff.Motivation and Context
Ruff has implemented most of the pylint checks we care and it runs much faster.