From b0fccc1c8469ab5a2d08a2cfee5aa035ab236239 Mon Sep 17 00:00:00 2001 From: Andrew Svetlov Date: Sun, 6 Dec 2020 14:04:28 +0200 Subject: [PATCH] Add more pre-commit hooks --- .pre-commit-config.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9cfeccc369f..2a6f3aa4d82 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -48,6 +48,11 @@ repos: - id: check-added-large-files - id: check-symlinks - id: debug-statements + - id: fix-byte-order-marker + - id: fix-encoding-pragma + args: ['--remove'] + - id: check-executables-have-shebangs + - id: check-case-conflict - id: detect-aws-credentials args: ['--allow-missing-credentials'] - id: detect-private-key