Skip to content

Commit 3d7d131

Browse files
Regenerate options
1 parent 9f39d7e commit 3d7d131

File tree

1 file changed

+34
-40
lines changed

1 file changed

+34
-40
lines changed

docs/configuration/options.md

+34-40
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ isort will disagree but commit to your way of formatting. To enable this, isort
55
how you want your imports sorted, organized, and formatted.
66

77
Too busy to build your perfect isort configuration? For curated common configurations, see isort's [built-in
8-
profiles](https://pycqa.github.io/isort/docs/configuration/profiles.html).
8+
profiles](https://pycqa.github.io/isort/docs/configuration/profiles/).
99

1010
## Python Version
1111

@@ -1074,17 +1074,6 @@ Tells isort to overwrite in place using the same file handle.Comes at a performa
10741074

10751075
- --overwrite-in-place
10761076

1077-
## Sorting Order
1078-
1079-
Use natural language or pythonic sorting. Valid values "default"=natural "pythonic"=python default sorting.
1080-
1081-
**Type:** String
1082-
**Default:** `default`
1083-
**Python & Config File Name:** sort_order
1084-
**CLI Flags:**
1085-
1086-
- --sort-order
1087-
10881077
## Reverse Sort
10891078

10901079
Reverses the ordering of imports.
@@ -1116,6 +1105,39 @@ Forces star imports above others to avoid overriding directly imported variables
11161105
**Python & Config File Name:** git_ignore
11171106
**CLI Flags:** **Not Supported**
11181107

1108+
## Format Error
1109+
1110+
Override the format used to print errors.
1111+
1112+
**Type:** String
1113+
**Default:** `{error}: {message}`
1114+
**Python & Config File Name:** format_error
1115+
**CLI Flags:**
1116+
1117+
- --format-error
1118+
1119+
## Format Success
1120+
1121+
Override the format used to print success.
1122+
1123+
**Type:** String
1124+
**Default:** `{success}: {message}`
1125+
**Python & Config File Name:** format_success
1126+
**CLI Flags:**
1127+
1128+
- --format-success
1129+
1130+
## Sort Order
1131+
1132+
Specify sorting function. Can be built in (natural[default] = force numbers to be sequential, native = Python's built-in sorted function) or an installable plugin.
1133+
1134+
**Type:** String
1135+
**Default:** `natural`
1136+
**Python & Config File Name:** sort_order
1137+
**CLI Flags:**
1138+
1139+
- --sort-order
1140+
11191141
## Show Version
11201142

11211143
Displays the currently installed version of isort.
@@ -1323,34 +1345,6 @@ Tells isort to format the given files according to an extensions formatting rule
13231345

13241346
- --ext-format
13251347

1326-
## Format Errors
1327-
1328-
Define the format used to print errors.
1329-
1330-
**NOTE** Variables are `error` and `message`.
1331-
The `error` variable prints `ERROR` with color depending on the --color option.
1332-
1333-
**Type:** String
1334-
**Default:** `{error}: {message}`
1335-
**Python & Config File Name:** format_errors
1336-
**CLI Flags:**
1337-
1338-
- --format-errors
1339-
1340-
## Format Success
1341-
1342-
Define the format used to print successes.
1343-
1344-
**NOTE** Variables are `success` and `message`.
1345-
The `success` variable prints `SUCCESS` with color depending on the --color option.
1346-
1347-
**Type:** String
1348-
**Default:** `{success}: {message}`
1349-
**Python & Config File Name:** format_success
1350-
**CLI Flags:**
1351-
1352-
- --format-success
1353-
13541348
## Deprecated Flags
13551349

13561350
==SUPPRESS==

0 commit comments

Comments
 (0)