Fix toml file

This commit is contained in:
Wayne Werner 2020-04-10 14:52:32 -05:00
parent cf0c6c5d65
commit 7d42fee94a
No known key found for this signature in database
GPG key ID: C36D3A8D5BEF0935
3 changed files with 14 additions and 10 deletions

View file

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

View file

@ -1,7 +1,18 @@
[tool.black]
exclude= '''
\(
exclude= """
/(
salt/ext
| tests/kitchen
| templates
)/
"""
[tool.isort]
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
line_length = 88
ensure_newline_before_comments=true
skip="salt/ext,tests/kitchen,templates"