Skip to content
Snippets Groups Projects
Commit f57b0de8 authored by nimrod's avatar nimrod
Browse files

Exclude the test files from pre-commit.

They're not meant to be checked by the hooks in .pre-commit-config.yaml
(that test the code in the repo) but by the ones in
.pre-commit-hooks.yaml (test cases for the hooks in the repo).
parent 2f72a978
Branches
No related tags found
No related merge requests found
Pipeline #2492 passed
--- ---
exclude: test_files
repos: repos:
- repo: https://github.com/pre-commit/pre-commit-hooks.git - repo: https://github.com/pre-commit/pre-commit-hooks.git
rev: v4.0.1 rev: v4.0.1
...@@ -10,7 +11,7 @@ repos: ...@@ -10,7 +11,7 @@ repos:
- id: check-yaml - id: check-yaml
- id: detect-private-key - id: detect-private-key
- id: end-of-file-fixer - id: end-of-file-fixer
exclude: VERSION|test_files exclude: VERSION
- id: trailing-whitespace - id: trailing-whitespace
- repo: https://github.com/codespell-project/codespell.git - repo: https://github.com/codespell-project/codespell.git
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment