From 3de15397f8d2ebc9a7b741e8660fce435d6e83fb Mon Sep 17 00:00:00 2001 From: Jeremiah Gowdy Date: Sun, 4 Oct 2020 18:40:15 -0700 Subject: [PATCH] Fix .pre-commit-hooks.yaml --- .pre-commit-hooks.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.pre-commit-hooks.yaml b/.pre-commit-hooks.yaml index 3e4dc9ea..8f00960e 100644 --- a/.pre-commit-hooks.yaml +++ b/.pre-commit-hooks.yaml @@ -5,6 +5,12 @@ language: python always_run: true pass_filenames: false +- id: byte-order-marker + name: Remove or disallow byte-order marker + description: Removes or disallows UTF-8 byte-order marker + entry: byte-order-marker + language: python + types: [text] - id: check-added-large-files name: Check for added large files description: Prevent giant files from being committed @@ -16,12 +22,6 @@ entry: check-ast language: python types: [python] -- id: check-byte-order-marker - name: Check for byte-order marker - description: Forbid files which have a UTF-8 byte-order marker - entry: check-byte-order-marker - language: 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.