summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorTimothy Crosley <timothy.crosley@gmail.com>2020-06-30 22:54:55 -0700
committerTimothy Crosley <timothy.crosley@gmail.com>2020-06-30 22:54:55 -0700
commitf86c9f9a1538be47aaf44c74b5bff836c3c2fc6d (patch)
tree1db86ba3da509eb765b0bfcb59ee625a40f9f5ac /scripts
parent21718530997e5381fd31ddcf9cb1de8bc2f3de2c (diff)
downloadisort-f86c9f9a1538be47aaf44c74b5bff836c3c2fc6d.tar.gz
Remove unecesarry list comprehension
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build_config_option_docs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build_config_option_docs.py b/scripts/build_config_option_docs.py
index 75b46d29..1a17a6e1 100755
--- a/scripts/build_config_option_docs.py
+++ b/scripts/build_config_option_docs.py
@@ -56,7 +56,7 @@ def human(name: str) -> str:
if name in HUMAN_NAME:
return HUMAN_NAME[name]
- return " ".join([part.capitalize() for part in name.replace("-", "_").split("_")])
+ return " ".join(part.capitalize() for part in name.replace("-", "_").split("_"))
def config_options() -> Generator[ConfigOption, None, None]: