diff options
author | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2020-12-13 15:54:30 +0100 |
---|---|---|
committer | Pierre Sassoulas <pierre.sassoulas@gmail.com> | 2020-12-14 09:34:34 +0100 |
commit | 60d4f77d836338d69819edd9db833802044ea1c0 (patch) | |
tree | 026d54a1412a18389c42fe684eba97137e99a87a | |
parent | 6e1cca143f2e0c6f20643573bfddb53ec02e66b4 (diff) | |
download | pylint-git-60d4f77d836338d69819edd9db833802044ea1c0.tar.gz |
Add proper exclusion in pre-commit configuration
Permit to use "pre-commit run --all-files" as exec
during interactive rebasing.
-rw-r--r-- | .pre-commit-config.yaml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 10444b5c5..35e155603 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -14,7 +14,9 @@ repos: rev: v2.1.0 hooks: - id: trailing-whitespace + exclude: "tests/functional/t/trailing_whitespaces.py" - id: end-of-file-fixer + exclude: "tests/functional/m/missing_final_newline.py|tests/functional/t/trailing_newlines.py" - repo: https://github.com/PyCQA/isort rev: 5.5.2 hooks: @@ -32,3 +34,4 @@ repos: entry: pylint language: system types: [python] + exclude: *fixtures |