From 6ad8310332853a15ca6fc7d0d99a798fe672a336 Mon Sep 17 00:00:00 2001 From: Gareth Davidson Date: Sun, 1 Jan 2023 23:57:15 +0000 Subject: [PATCH] Remove encoding pragma, unnecessary in Python 3 Python 2 is dead so dunno why --remove is not the default --- .pre-commit-config.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c32ca7c8..a4497651 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -19,6 +19,7 @@ repos: - id: check-case-conflict - id: detect-private-key - id: fix-encoding-pragma + args: ["--remove"] - id: forbid-submodules - id: mixed-line-ending - id: requirements-txt-fixer