Add Python isort imports options to docs

This commit is contained in:
Glavin Wiechert 2015-12-10 21:40:30 -04:00
parent 9aa04fd336
commit adcbaf3e4e
1 changed files with 48 additions and 0 deletions

View File

@ -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) #### [Ruby - Indent size](#ruby---indent-size)
**Namespace**: `ruby` **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 ### Rubocop