diff options
author | Timothy Crosley <timothy.crosley@gmail.com> | 2020-12-30 17:12:43 -0800 |
---|---|---|
committer | Timothy Crosley <timothy.crosley@gmail.com> | 2020-12-30 17:12:43 -0800 |
commit | a8f4ff3e85b7a26cad2c0af499028caa94f5febf (patch) | |
tree | 55abbe7dfa240349333ddfabfcee4e598ac5281e | |
parent | 681b26c766f863a790bd50eb9d2e0a80022f1343 (diff) | |
download | isort-a8f4ff3e85b7a26cad2c0af499028caa94f5febf.tar.gz |
Regenerate config option docs
-rw-r--r-- | docs/configuration/options.md | 20 | ||||
-rw-r--r-- | isort/main.py | 7 | ||||
-rw-r--r-- | isort/settings.py | 1 |
3 files changed, 20 insertions, 8 deletions
diff --git a/docs/configuration/options.md b/docs/configuration/options.md index e6d0e805..0b5de230 100644 --- a/docs/configuration/options.md +++ b/docs/configuration/options.md @@ -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. @@ -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. diff --git a/isort/main.py b/isort/main.py index 27866286..5a7e1b17 100644 --- a/isort/main.py +++ b/isort/main.py @@ -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", diff --git a/isort/settings.py b/isort/settings.py index 4ea8c0d0..f9c04147 100644 --- a/isort/settings.py +++ b/isort/settings.py @@ -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): |