Add salt-rewrite to pre-commit hooks

This commit is contained in:
Pedro Algarvio 2021-01-19 10:52:37 +00:00
parent 6477359edb
commit 65fdf388f9

View file

@ -1114,6 +1114,13 @@ repos:
hooks:
- 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
rev: "1e78a9acf3110e1f9721feb591f89a451fc9876a"
hooks: