From 7d2a2e10b3c82b660d3b4e6a6bd6df9a6e491b99 Mon Sep 17 00:00:00 2001 From: John Bampton Date: Wed, 23 Jun 2021 10:06:11 +1000 Subject: Add official pre-commit file-contents-sorter Remove unneeded bash script sort-codespell-wordlist.sh https://github.com/pre-commit/pre-commit-hooks#file-contents-sorter --- scripts/ci/pre-commit/sort-codespell-wordlist.sh | 7 ------- 1 file changed, 7 deletions(-) delete mode 100755 scripts/ci/pre-commit/sort-codespell-wordlist.sh (limited to 'scripts/ci/pre-commit') diff --git a/scripts/ci/pre-commit/sort-codespell-wordlist.sh b/scripts/ci/pre-commit/sort-codespell-wordlist.sh deleted file mode 100755 index e5250f0a9..000000000 --- a/scripts/ci/pre-commit/sort-codespell-wordlist.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/usr/bin/env bash - -CODESPELL_WORDLIST="codespell.txt" -temp_file=$(mktemp) -sort <"${CODESPELL_WORDLIST}" | uniq >"${temp_file}" -cat "${temp_file}" >"${CODESPELL_WORDLIST}" -rm "${temp_file}" -- cgit v1.2.3