diff options
| author | John Bampton <[email protected]> | 2021-06-23 10:06:11 +1000 |
|---|---|---|
| committer | John Bampton <[email protected]> | 2021-06-23 10:55:26 +1000 |
| commit | 7d2a2e10b3c82b660d3b4e6a6bd6df9a6e491b99 (patch) | |
| tree | 2b3cb0ac4fa9454954ff655304924dbdd5718696 /scripts | |
| parent | 388bcb15e83af2e2eb1d9d5b9b20c66b05b7d8ef (diff) | |
| download | mruby-7d2a2e10b3c82b660d3b4e6a6bd6df9a6e491b99.tar.gz mruby-7d2a2e10b3c82b660d3b4e6a6bd6df9a6e491b99.zip | |
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
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/ci/pre-commit/sort-codespell-wordlist.sh | 7 |
1 files changed, 0 insertions, 7 deletions
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}" |
