mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 17:50:20 +00:00
salt-rewrite can now run on the whole test suite
This commit is contained in:
parent
ab1726fc6e
commit
460a658515
1 changed files with 3 additions and 2 deletions
|
@ -1111,10 +1111,11 @@ repos:
|
||||||
|
|
||||||
- repo: https://github.com/s0undt3ch/salt-rewrite
|
- repo: https://github.com/s0undt3ch/salt-rewrite
|
||||||
# Automatically rewrite code with known rules
|
# Automatically rewrite code with known rules
|
||||||
rev: 0.8.2
|
rev: 1.0.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: salt-rewrite
|
- id: salt-rewrite
|
||||||
files: ^tests/pytests/.*\.py$
|
files: ^tests/.*\.py$
|
||||||
|
args: [-E, fix_asserts]
|
||||||
|
|
||||||
- repo: https://github.com/timothycrosley/isort
|
- repo: https://github.com/timothycrosley/isort
|
||||||
rev: "1e78a9acf3110e1f9721feb591f89a451fc9876a"
|
rev: "1e78a9acf3110e1f9721feb591f89a451fc9876a"
|
||||||
|
|
Loading…
Add table
Reference in a new issue