mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 17:50:20 +00:00
Back to .isort.cfg
At least until version 5 of isort is actually released.
This commit is contained in:
parent
35c4d92bc6
commit
cf0c6c5d65
3 changed files with 8 additions and 10 deletions
8
.isort.cfg
Normal file
8
.isort.cfg
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
[settings]
|
||||||
|
multi_line_output=3
|
||||||
|
include_trailing_comma=True
|
||||||
|
force_grid_wrap=0
|
||||||
|
line_length=88
|
||||||
|
ensure_newline_before_comments=True
|
||||||
|
use_parentheses=True
|
||||||
|
skip=salt/ext/,tests/kitchen/tests/,templates/
|
|
@ -423,7 +423,6 @@ repos:
|
||||||
rev: '1e78a9acf3110e1f9721feb591f89a451fc9876a'
|
rev: '1e78a9acf3110e1f9721feb591f89a451fc9876a'
|
||||||
hooks:
|
hooks:
|
||||||
- id: isort
|
- id: isort
|
||||||
additional_dependencies: ['isort[pyproject]']
|
|
||||||
# This tells pre-commit not to pass files to isort.
|
# This tells pre-commit not to pass files to isort.
|
||||||
# This should be kept in sync with pyproject.toml
|
# This should be kept in sync with pyproject.toml
|
||||||
exclude: >
|
exclude: >
|
||||||
|
|
|
@ -5,12 +5,3 @@ exclude= '''
|
||||||
| tests/kitchen
|
| tests/kitchen
|
||||||
| templates
|
| templates
|
||||||
)/
|
)/
|
||||||
|
|
||||||
|
|
||||||
[tool.isort]
|
|
||||||
multi_line_output = 3
|
|
||||||
include_trailing_comma = true
|
|
||||||
force_grid_wrap = 0
|
|
||||||
use_parentheses = true
|
|
||||||
line_length = 88
|
|
||||||
skip=salt/ext,tests/kitchen,templates
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue