Skip to content

Commit

Permalink
Add lint pre-commit hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
s0undt3ch committed Nov 30, 2019
1 parent cc91391 commit 7212e45
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -265,3 +265,27 @@ repos:
- -v
- --py-version=3.7
- --platform=linux

- repo: https://github.com/saltstack/salt-nox-pre-commit
rev: master
hooks:
- id: nox-py2
alias: lint-salt
name: Lint Salt
files: ^((setup|noxfile)|salt/\.*)\.py$
args:
- -e
- lint-salt
- --

- repo: https://github.com/saltstack/salt-nox-pre-commit
rev: master
hooks:
- id: nox-py2
alias: lint-tests
name: Lint Tests
files: ^tests/\.*\.py$
args:
- -e
- lint-salt
- --

0 comments on commit 7212e45

Please sign in to comment.