From 6ad53f43d1efb2a456c19cb0873fa7ed6d0ae5c0 Mon Sep 17 00:00:00 2001 From: Timothy Crosley Date: Wed, 17 Nov 2021 21:57:07 -0800 Subject: Populate additional option descriptions --- scripts/build_config_option_docs.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'scripts') diff --git a/scripts/build_config_option_docs.py b/scripts/build_config_option_docs.py index f20b7b77..b6ef5d27 100755 --- a/scripts/build_config_option_docs.py +++ b/scripts/build_config_option_docs.py @@ -102,6 +102,14 @@ description_mapping = { "length_sort_sections": "Sort the given sections by length", "forced_separate": "Force certain sub modules to show separately", "sections": "What sections isort should display imports for and in what order", + "known_other": "known_OTHER is how imports of custom sections are defined. " + "OTHER is a placeholder for the custom section name.", + "comment_prefix": "Allows customizing how isort prefixes comments that it adds or modifies on import lines" + "Generally ` #` (two spaces before a pound symbol) is use, though one space is also common.", + "lines_before_imports": "The number of blank lines to place before imports. -1 for automatic determination", + "lines_after_imports": "The number of blank lines to place after imports. -1 for automatic determination", + "lines_between_sections": "The number of lines to place between sections", + "lines_between_types": "The number of lines to place between direct and from imports", } example_mapping: Dict[str, Example] -- cgit v1.2.1