mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 17:50:20 +00:00
Fix toml file
This commit is contained in:
parent
cf0c6c5d65
commit
7d42fee94a
3 changed files with 14 additions and 10 deletions
|
@ -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/
|
|
|
@ -423,6 +423,7 @@ repos:
|
||||||
rev: '1e78a9acf3110e1f9721feb591f89a451fc9876a'
|
rev: '1e78a9acf3110e1f9721feb591f89a451fc9876a'
|
||||||
hooks:
|
hooks:
|
||||||
- id: isort
|
- id: isort
|
||||||
|
additional_dependencies: ['toml']
|
||||||
# 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: >
|
||||||
|
|
|
@ -1,7 +1,18 @@
|
||||||
[tool.black]
|
[tool.black]
|
||||||
exclude= '''
|
exclude= """
|
||||||
\(
|
/(
|
||||||
salt/ext
|
salt/ext
|
||||||
| 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
|
||||||
|
ensure_newline_before_comments=true
|
||||||
|
skip="salt/ext,tests/kitchen,templates"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue