From a2785a8180950e2c6ff28c97982cb1392bb30684 Mon Sep 17 00:00:00 2001 From: John Bampton Date: Sun, 30 Jul 2023 04:24:50 +1000 Subject: [PATCH] pre-commit: file-contents-sorter ensure each line is unique https://github.com/pre-commit/pre-commit-hooks#file-contents-sorter --- .pre-commit-config.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3a780cbdd..3d097c221 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -23,6 +23,7 @@ repos: - id: detect-private-key - id: end-of-file-fixer - id: file-contents-sorter + args: [--unique] files: ^codespell\.txt$ - id: fix-byte-order-marker - id: mixed-line-ending