From adcbaf3e4e243d1ace4512c271868af5e39693c2 Mon Sep 17 00:00:00 2001 From: Glavin Wiechert Date: Thu, 10 Dec 2015 21:40:30 -0400 Subject: [PATCH] Add Python isort imports options to docs --- docs/options.md | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/docs/options.md b/docs/options.md index 649b8a0..295175f 100644 --- a/docs/options.md +++ b/docs/options.md @@ -1740,6 +1740,30 @@ do not fix these errors/warnings (Supported by autopep8) } ``` +#### [Python - Sort imports](#python---sort-imports) + +**Namespace**: `python` + +**Key**: `sort_imports` + +**Type**: `boolean` + +**Supported Beautifiers**: [`autopep8`](#autopep8) + +**Description**: + +sort imports (requires isort installed) (Supported by autopep8) + +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "python": { + "sort_imports": false + } +} +``` + #### [Ruby - Indent size](#ruby---indent-size) **Namespace**: `ruby` @@ -6442,6 +6466,30 @@ do not fix these errors/warnings (Supported by autopep8) } ``` +#### [Python - Sort imports](#python---sort-imports) + +**Namespace**: `python` + +**Key**: `sort_imports` + +**Type**: `boolean` + +**Supported Beautifiers**: [`autopep8`](#autopep8) + +**Description**: + +sort imports (requires isort installed) (Supported by autopep8) + +**Example `.jsbeautifyrc` Configuration** + +```json +{ + "python": { + "sort_imports": false + } +} +``` + ### Rubocop