mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-06 21:16:54 +00:00
Sort errors list in help
[Mega-Linter](https://github.com/nvuillam/mega-linter) generates its help from flake8 --help An automated job detects when there is a new version of help and triggers actions from this event But as the list of returned errors is randomly ordered for every flake8 --help called, the result is never the same and there are false updates detection Sorting the list of extensions will make help text to be always the same for the same version :)
This commit is contained in:
parent
4fdb0a2b2f
commit
bea467b59d
1 changed files with 1 additions and 1 deletions
|
|
@ -207,7 +207,7 @@ def register_default_options(option_manager):
|
|||
add_option(
|
||||
"--ignore",
|
||||
metavar="errors",
|
||||
default=",".join(defaults.IGNORE),
|
||||
default=",".join(sorted(defaults.IGNORE)),
|
||||
parse_from_config=True,
|
||||
comma_separated_list=True,
|
||||
help="Comma-separated list of errors and warnings to ignore (or skip)."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue