From 863176040f0593b721581c5f7f44200ed8de54f7 Mon Sep 17 00:00:00 2001 From: Justin Mayer Date: Tue, 14 Apr 2020 14:14:56 +0200 Subject: [PATCH] Don't run pre-commit on functional test output Otherwise, it will apply EOF and trailing whitespace fixes, which may lead to test failures. --- .pre-commit-config.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ef27cfcf..385a7144 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,6 +2,7 @@ repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v2.3.0 + exclude: ^pelican/tests/output/ hooks: - id: check-added-large-files - id: check-ast