pre-commit: file-contents-sorter ensure each line is unique

https://github.com/pre-commit/pre-commit-hooks#file-contents-sorter
This commit is contained in:
John Bampton
2023-07-30 04:24:50 +10:00
parent 5b2056efda
commit a2785a8180
+1
View File
@@ -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