Back to .isort.cfg

At least until version 5 of isort is actually released.
This commit is contained in:
Wayne Werner 2020-04-10 09:10:05 -05:00
parent 35c4d92bc6
commit cf0c6c5d65
No known key found for this signature in database
GPG key ID: C36D3A8D5BEF0935
3 changed files with 8 additions and 10 deletions

8
.isort.cfg Normal file
View 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/

View file

@ -423,7 +423,6 @@ repos:
rev: '1e78a9acf3110e1f9721feb591f89a451fc9876a'
hooks:
- id: isort
additional_dependencies: ['isort[pyproject]']
# This tells pre-commit not to pass files to isort.
# This should be kept in sync with pyproject.toml
exclude: >

View file

@ -5,12 +5,3 @@ exclude= '''
| tests/kitchen
| 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