Fix regexes for the lint pre-commit hooks

This commit is contained in:
Pedro Algarvio 2019-12-02 16:55:38 +00:00
parent 73bac9318a
commit 27d5b07228
No known key found for this signature in database
GPG key ID: BB36BF6584A298FF

View file

@ -272,7 +272,7 @@ repos:
- id: nox-py2
alias: lint-salt
name: Lint Salt
files: ^((setup|noxfile)|salt/\.*)\.py$
files: ^((setup|noxfile)|salt/.*)\.py$
args:
- -e
- lint-salt
@ -284,7 +284,7 @@ repos:
- id: nox-py2
alias: lint-tests
name: Lint Tests
files: ^tests/\.*\.py$
files: ^tests/.*\.py$
args:
- -e
- lint-tests