Skip to content

Commit

Permalink
Nicer formatting for redundent import docs
Browse files Browse the repository at this point in the history
  • Loading branch information
timothycrosley committed Jul 15, 2020
1 parent e605d51 commit fafe61d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/configuration/options.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
6 changes: 3 additions & 3 deletions isort/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."
),
)

Expand Down

0 comments on commit fafe61d

Please sign in to comment.