File tree 3 files changed +20
-8
lines changed
3 files changed +20
-8
lines changed Original file line number Diff line number Diff line change @@ -1010,6 +1010,15 @@ Combines all the bare straight imports of the same section in a single line. Won
1010
1010
** Python & Config File Name:** follow_links
1011
1011
** CLI Flags:** ** Not Supported**
1012
1012
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
+
1013
1022
## Show Version
1014
1023
1015
1024
Displays the currently installed version of isort.
@@ -1169,6 +1178,17 @@ Provide the filename associated with a stream.
1169
1178
1170
1179
- --filename
1171
1180
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
+
1172
1192
## Dont Order By Type
1173
1193
1174
1194
Don't order imports by type, which is determined by case, in addition to alphabetically.
Original file line number Diff line number Diff line change @@ -622,13 +622,6 @@ def _build_arg_parser() -> argparse.ArgumentParser:
622
622
dest = "ext_format" ,
623
623
help = "Tells isort to format the given files according to an extensions formatting rules." ,
624
624
)
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
- )
632
625
633
626
section_group .add_argument (
634
627
"--sd" ,
Original file line number Diff line number Diff line change @@ -204,7 +204,6 @@ class _Config:
204
204
auto_identify_namespace_packages : bool = True
205
205
namespace_packages : FrozenSet [str ] = frozenset ()
206
206
follow_links : bool = True
207
- dedupe_imports : bool = True
208
207
indented_import_headings : bool = True
209
208
210
209
def __post_init__ (self ):
You can’t perform that action at this time.
0 commit comments