diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 82950df2b2..1f1516ffc7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,7 +2,11 @@ # See https://pre-commit.com for more information # See https://pre-commit.com/hooks.html for more hooks -files: ^src/Mod/AddonManager +files: | + (?x)^( + src/Mod/AddonManager| + tests/src + ) repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v3.2.0