mirror of
https://github.com/saltstack/salt.git
synced 2025-04-15 17:20:19 +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
|
||||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue