summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorTimothy Crosley <timothy.crosley@gmail.com>2021-11-18 23:01:07 -0800
committerTimothy Crosley <timothy.crosley@gmail.com>2021-11-18 23:01:07 -0800
commit32c95c74b57d98f8b6922b3b9f4d84c80cb65736 (patch)
treefec19ba35ef65bfc892452cf9f813846d9605ee4 /scripts
parent6ad53f43d1efb2a456c19cb0873fa7ed6d0ae5c0 (diff)
downloadisort-32c95c74b57d98f8b6922b3b9f4d84c80cb65736.tar.gz
Populate additional descriptions
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build_config_option_docs.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/build_config_option_docs.py b/scripts/build_config_option_docs.py
index b6ef5d27..26a51571 100755
--- a/scripts/build_config_option_docs.py
+++ b/scripts/build_config_option_docs.py
@@ -110,6 +110,13 @@ description_mapping = {
"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",
+ "lexicographical": "Lexicographical order is strictly alphabetical order. "
+ "For example by default isort will sort `1, 10, 2` into `1, 2, 10` - but with "
+ "lexicographical sorting enabled it will remain `1, 10, 2`.",
+ "ignore_comments": "If enabled, isort will strip comments that exist within import lines.",
+ "constants": "An override list of tokens to always recognize as a CONSTANT for order_by_type regardless of casing.",
+ "classes": "An override list of tokens to always recognize as a Class for order_by_type regardless of casing.",
+ "variables": "An override list of tokens to always recognize as a var for order_by_type regardless of casing.",
}
example_mapping: Dict[str, Example]