summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Crosley <timothy.crosley@gmail.com>2020-07-14 20:24:26 -0700
committerTimothy Crosley <timothy.crosley@gmail.com>2020-07-14 20:24:26 -0700
commitfafe61d452c1ef50ebeff3b3a7b813444d4e1bfe (patch)
tree98de7647a54ec21053b316e32c5167ee74d24111
parente605d518c0808e9fb34dedbf1dbf7cc68f6083af (diff)
downloadisort-fafe61d452c1ef50ebeff3b3a7b813444d4e1bfe.tar.gz
Nicer formatting for redundent import docs
-rw-r--r--docs/configuration/options.md2
-rw-r--r--isort/main.py6
2 files changed, 4 insertions, 4 deletions
diff --git a/docs/configuration/options.md b/docs/configuration/options.md
index e29ceffd..86ad6da4 100644
--- a/docs/configuration/options.md
+++ b/docs/configuration/options.md
@@ -753,7 +753,7 @@ Use the old deprecated finder logic that relies on environment introspection mag
## Remove Redundant Aliases
-Tells isort to remove redundant aliases from imports, such as import os as os. This defaults to false simply because some projects use these seemingly useless alias to signify intent and change behaviour.
+Tells isort to remove redundant aliases from imports, such as `import os as os`. This defaults to `False` simply because some projects use these seemingly useless aliases to signify intent and change behaviour.
**Type:** Bool
**Default:** `False`
diff --git a/isort/main.py b/isort/main.py
index 320e3f89..30b40572 100644
--- a/isort/main.py
+++ b/isort/main.py
@@ -590,9 +590,9 @@ def _build_arg_parser() -> argparse.ArgumentParser:
dest="remove_redundant_aliases",
action="store_true",
help=(
- "Tells isort to remove redundant aliases from imports, such as import os as os."
- " This defaults to false simply because some projects use these seemingly useless alias"
- " to signify intent and change behaviour."
+ "Tells isort to remove redundant aliases from imports, such as `import os as os`."
+ " This defaults to `False` simply because some projects use these seemingly useless "
+ " aliases to signify intent and change behaviour."
),
)