Skip to content

Commit a88701b

Browse files
[doc all-options] dict need to be sorted again
1 parent e0d563d commit a88701b

File tree

2 files changed

+950
-950
lines changed

2 files changed

+950
-950
lines changed

doc/exts/pylint_options.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ def _write_options_page(options: OptionsDataDict, linter: PyLinter) -> None:
174174
]
175175
found_extensions = False
176176

177-
for checker, checker_options in options.items():
177+
for checker, checker_options in sorted(options.items()):
178178
if not found_extensions and checker_options[0].extension:
179179
sections.append(get_rst_title("Extensions", "^"))
180180
found_extensions = True

0 commit comments

Comments
 (0)