From 841c47ebf7b56de951f67784fb7704c725e3ea40 Mon Sep 17 00:00:00 2001 From: Toby Fleming Date: Thu, 21 Mar 2019 16:33:00 -0700 Subject: [PATCH] Run check-byte-order-marker against all text types, not just Python files --- .pre-commit-hooks.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index 79a90b71..9396d55d 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -21,7 +21,7 @@ description: Forbid files which have a UTF-8 byte-order marker entry: check-byte-order-marker language: python - types: [python] + types: [text] - id: check-builtin-literals name: Check builtin type constructor use description: Require literal syntax when initializing empty or zero Python builtin types.