chore(github): use codespell to inspect and correct spelling issues (#7775)

Signed-off-by: jsvisa <delweng@gmail.com>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
Delweng
2024-04-24 05:32:59 +08:00
committed by GitHub
parent 665e67ec7c
commit 7a593882e1
28 changed files with 55 additions and 34 deletions

View File

@ -303,11 +303,21 @@ lint-other-targets:
--all-features \
-- -D warnings
lint-codespell: ensure-codespell
codespell
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" \
exit 1; \
fi
lint:
make fmt && \
make lint-reth && \
make lint-op-reth && \
make lint-other-targets
make lint-other-targets \
make lint-codespell
fix-lint-reth:
cargo +nightly clippy \