diff options
| author | Timothy Crosley <timothy.crosley@gmail.com> | 2021-11-17 21:57:07 -0800 |
|---|---|---|
| committer | Timothy Crosley <timothy.crosley@gmail.com> | 2021-11-17 21:57:07 -0800 |
| commit | 6ad53f43d1efb2a456c19cb0873fa7ed6d0ae5c0 (patch) | |
| tree | 91a0892feecb4579f0eb23149486bea886f96257 /scripts | |
| parent | 32865effad44841ccea4c79d0d07e8f9189aff16 (diff) | |
| download | isort-6ad53f43d1efb2a456c19cb0873fa7ed6d0ae5c0.tar.gz | |
Populate additional option descriptions
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/build_config_option_docs.py | 8 |
1 files changed, 8 insertions, 0 deletions
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] |
