mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix regexes for the lint pre-commit hooks
This commit is contained in:
parent
73bac9318a
commit
27d5b07228
1 changed files with 2 additions and 2 deletions
|
@ -272,7 +272,7 @@ repos:
|
||||||
- id: nox-py2
|
- id: nox-py2
|
||||||
alias: lint-salt
|
alias: lint-salt
|
||||||
name: Lint Salt
|
name: Lint Salt
|
||||||
files: ^((setup|noxfile)|salt/\.*)\.py$
|
files: ^((setup|noxfile)|salt/.*)\.py$
|
||||||
args:
|
args:
|
||||||
- -e
|
- -e
|
||||||
- lint-salt
|
- lint-salt
|
||||||
|
@ -284,7 +284,7 @@ repos:
|
||||||
- id: nox-py2
|
- id: nox-py2
|
||||||
alias: lint-tests
|
alias: lint-tests
|
||||||
name: Lint Tests
|
name: Lint Tests
|
||||||
files: ^tests/\.*\.py$
|
files: ^tests/.*\.py$
|
||||||
args:
|
args:
|
||||||
- -e
|
- -e
|
||||||
- lint-tests
|
- lint-tests
|
||||||
|
|
Loading…
Add table
Reference in a new issue