Skip to content

Commit

Permalink
Regenerate config option docs
Browse files Browse the repository at this point in the history
  • Loading branch information
timothycrosley committed Dec 31, 2020
1 parent 681b26c commit a8f4ff3
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 8 deletions.
20 changes: 20 additions & 0 deletions docs/configuration/options.md
Original file line number Diff line number Diff line change
Expand Up @@ -1010,6 +1010,15 @@ Combines all the bare straight imports of the same section in a single line. Won
**Python & Config File Name:** follow_links
**CLI Flags:** **Not Supported**

## Indented Import Headings

**No Description**

**Type:** Bool
**Default:** `True`
**Python & Config File Name:** indented_import_headings
**CLI Flags:** **Not Supported**

## Show Version

Displays the currently installed version of isort.
Expand Down Expand Up @@ -1169,6 +1178,17 @@ Provide the filename associated with a stream.

- --filename

## Dont Float To Top

Forces --float-to-top setting off. See --float-to-top for more information.

**Type:** Bool
**Default:** `False`
**Python & Config File Name:** **Not Supported**
**CLI Flags:**

- --dont-float-to-top

## Dont Order By Type

Don't order imports by type, which is determined by case, in addition to alphabetically.
Expand Down
7 changes: 0 additions & 7 deletions isort/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -622,13 +622,6 @@ def _build_arg_parser() -> argparse.ArgumentParser:
dest="ext_format",
help="Tells isort to format the given files according to an extensions formatting rules.",
)
output_group.add_argument(
"--dedupe-imports",
dest="dedupe_imports",
help="Tells isort to dedupe duplicated imports that are seen at the root across "
"import blocks.",
action="store_true",
)

section_group.add_argument(
"--sd",
Expand Down
1 change: 0 additions & 1 deletion isort/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,6 @@ class _Config:
auto_identify_namespace_packages: bool = True
namespace_packages: FrozenSet[str] = frozenset()
follow_links: bool = True
dedupe_imports: bool = True
indented_import_headings: bool = True

def __post_init__(self):
Expand Down

0 comments on commit a8f4ff3

Please sign in to comment.