diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 00d746f5635..0e976f71c1d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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