mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
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:
12
Makefile
12
Makefile
@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user