Skip to content

Commit a8f4ff3

Browse files
Regenerate config option docs
1 parent 681b26c commit a8f4ff3

File tree

3 files changed

+20
-8
lines changed

3 files changed

+20
-8
lines changed

docs/configuration/options.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1010,6 +1010,15 @@ Combines all the bare straight imports of the same section in a single line. Won
10101010
**Python & Config File Name:** follow_links
10111011
**CLI Flags:** **Not Supported**
10121012

1013+
## Indented Import Headings
1014+
1015+
**No Description**
1016+
1017+
**Type:** Bool
1018+
**Default:** `True`
1019+
**Python & Config File Name:** indented_import_headings
1020+
**CLI Flags:** **Not Supported**
1021+
10131022
## Show Version
10141023

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

11701179
- --filename
11711180

1181+
## Dont Float To Top
1182+
1183+
Forces --float-to-top setting off. See --float-to-top for more information.
1184+
1185+
**Type:** Bool
1186+
**Default:** `False`
1187+
**Python & Config File Name:** **Not Supported**
1188+
**CLI Flags:**
1189+
1190+
- --dont-float-to-top
1191+
11721192
## Dont Order By Type
11731193

11741194
Don't order imports by type, which is determined by case, in addition to alphabetically.

isort/main.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -622,13 +622,6 @@ def _build_arg_parser() -> argparse.ArgumentParser:
622622
dest="ext_format",
623623
help="Tells isort to format the given files according to an extensions formatting rules.",
624624
)
625-
output_group.add_argument(
626-
"--dedupe-imports",
627-
dest="dedupe_imports",
628-
help="Tells isort to dedupe duplicated imports that are seen at the root across "
629-
"import blocks.",
630-
action="store_true",
631-
)
632625

633626
section_group.add_argument(
634627
"--sd",

isort/settings.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,6 @@ class _Config:
204204
auto_identify_namespace_packages: bool = True
205205
namespace_packages: FrozenSet[str] = frozenset()
206206
follow_links: bool = True
207-
dedupe_imports: bool = True
208207
indented_import_headings: bool = True
209208

210209
def __post_init__(self):

0 commit comments

Comments
 (0)