diff --git a/.codespellrc b/.codespellrc deleted file mode 100644 index fd4ab45..0000000 --- a/.codespellrc +++ /dev/null @@ -1,5 +0,0 @@ -[codespell] -skip = .direnv,.git,libopencm3 -ignore-words = ./dev-support/codespell-ignore-words -check-filenames = -check-hidden = diff --git a/dev-support/bin/style b/dev-support/bin/style index 97b5532..8037475 100755 --- a/dev-support/bin/style +++ b/dev-support/bin/style @@ -7,7 +7,6 @@ set -o nounset set -o pipefail ROOT="$(realpath "$(dirname "$0")"/../../)" -DEVSUPPORT="$(realpath "$(dirname "$0")"/../)" CURDIR="$(realpath "$(dirname "$0")")" . "$CURDIR/log" @@ -19,7 +18,7 @@ info "Formatting shell scripts" shfmt -s -w -l -i 2 -ci -fn $(shfmt -f $(git grep -l '' :/)) info "Chekcking misspellings" -codespell --skip "$ROOT/.direnv,$ROOT/.git,$ROOT/libopencm3" --ignore-words "$DEVSUPPORT/codespell-ignore-words" "$ROOT" +codespell --skip "$ROOT/.direnv,$ROOT/.git,$ROOT/libopencm3,*.c,*.h" "$ROOT" info "Formatting c files" # shellcheck disable=SC2046 diff --git a/dev-support/codespell-ignore-words b/dev-support/codespell-ignore-words deleted file mode 100644 index de8f0e1..0000000 --- a/dev-support/codespell-ignore-words +++ /dev/null @@ -1,4 +0,0 @@ -ake -ege -hsi -endianess