Skip to content

Commit

Permalink
Merge pull request #284 from dcnadler/isort_section_options
Browse files Browse the repository at this point in the history
Add isort config options for custom sections
  • Loading branch information
ryantam626 committed Mar 22, 2023
2 parents a8a063e + 417b7dd commit 11f1367
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions schema/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@
"wrap_length": {
"type": "number"
},
"sections": {
"type": "array",
"items": {"type": "string"}
},
"known_future_library": {
"type": "array",
"items": {"type": "string"}
Expand Down Expand Up @@ -152,6 +156,12 @@
"type": "boolean"
}
},
"patternProperties": {
"^known_[a-z_]+": {
"type": "array",
"items": {"type": "string"}
}
},
"additionalProperties": false,
"type": "object"
},
Expand Down Expand Up @@ -344,6 +354,7 @@
"include_trailing_comma": true,
"force_grid_wrap": 0,
"use_parentheses": true,
"ensure_newline_before_comments": true,
"line_length": 88
}
},
Expand Down Expand Up @@ -376,14 +387,14 @@
"$ref": "#/definitions/cacheFormatters",
"default": false
},
"astyle": {
"title": "AStyle Config",
"astyle": {
"title": "AStyle Config",
"description": "Command line options to be passed to astyle.",
"$ref": "#/definitions/astyle",
"default": {
"args": []
}
},
"args": []
}
},
"suppressFormatterErrors": {
"title": "Suppress formatter errors",
"description": "Whether to suppress all errors reported by formatter while formatting. Useful when you have format on save mode on.",
Expand Down

0 comments on commit 11f1367

Please sign in to comment.