mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Add salt-rewrite
to pre-commit hooks
This commit is contained in:
parent
6477359edb
commit
65fdf388f9
1 changed files with 7 additions and 0 deletions
|
@ -1114,6 +1114,13 @@ repos:
|
||||||
hooks:
|
hooks:
|
||||||
- id: remove-import-headers
|
- id: remove-import-headers
|
||||||
|
|
||||||
|
- repo: https://github.com/s0undt3ch/salt-rewrite
|
||||||
|
# Automatically rewrite code with known rules
|
||||||
|
rev: 0.8.2
|
||||||
|
hooks:
|
||||||
|
- id: salt-rewrite
|
||||||
|
files: ^tests/pytests/.*\.py$
|
||||||
|
|
||||||
- repo: https://github.com/timothycrosley/isort
|
- repo: https://github.com/timothycrosley/isort
|
||||||
rev: "1e78a9acf3110e1f9721feb591f89a451fc9876a"
|
rev: "1e78a9acf3110e1f9721feb591f89a451fc9876a"
|
||||||
hooks:
|
hooks:
|
||||||
|
|
Loading…
Add table
Reference in a new issue