-
-
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
Sort --generate-rcfile
ouput
#7655
Conversation
Pull Request Test Coverage Report for Build 3297070891
💛 - 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.
Makes perfect sense, thank you.
for group in sorted( | ||
self._arg_parser._action_groups, | ||
key=lambda x: (x.title != "Main", x.title), | ||
): |
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.
Shouldn't the options also be sorted line 460 to 464 ?
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.
👍🏻 Done, although it didn't change much. I force pushed the changes to keep the history clean for the merge commit.
1835d36
to
9cc5674
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.
👍
🤖 According to the primer, this change has no effect on the checked open source code. 🤖🎉 This comment was generated for commit 9cc5674 |
Description
Sort output of
--generate-rcfile
similar to the one from--generate-toml-config
and update example pylintrc.Noticed this while trying the release workflow.
Note: To make backporting easier, don't squash merge this PR.
https://github.com/PyCQA/pylint/blob/15dd079792ce8e6b37856450f9e4a928f11b3549/pylint/config/arguments_manager.py#L704-L707