From 27d5b07228978245917f4507780c63d3bc4909cd Mon Sep 17 00:00:00 2001 From: Pedro Algarvio Date: Mon, 2 Dec 2019 16:55:38 +0000 Subject: [PATCH] Fix regexes for the lint pre-commit hooks --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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