chore: migrate from codespell to typos (#17501)

This commit is contained in:
Matthias Seitz
2025-07-21 11:18:01 +02:00
committed by GitHub
parent 2c62cd8b46
commit bec451026d
5 changed files with 50 additions and 16 deletions

View File

@@ -415,12 +415,12 @@ clippy-op-dev:
--locked \
--all-features
lint-codespell: ensure-codespell
codespell --skip "*.json" --skip "./testing/ef-tests/ethereum-tests"
lint-typos: ensure-typos
typos
ensure-codespell:
@if ! command -v codespell &> /dev/null; then \
echo "codespell not found. Please install it by running the command `pip install codespell` or refer to the following link for more information: https://github.com/codespell-project/codespell" \
ensure-typos:
@if ! command -v typos &> /dev/null; then \
echo "typos not found. Please install it by running the command `cargo install typos-cli` or refer to the following link for more information: https://github.com/crate-ci/typos" \
exit 1; \
fi
@@ -446,7 +446,7 @@ ensure-dprint:
lint:
make fmt && \
make clippy && \
make lint-codespell && \
make lint-typos && \
make lint-toml
clippy-fix: