diff --git a/scripts/codespell-project.sh b/scripts/codespell-project.sh index c9cd13f3d..85fcee634 100755 --- a/scripts/codespell-project.sh +++ b/scripts/codespell-project.sh @@ -8,13 +8,13 @@ # -i 3 # as arguments to interactively fix detected issues, # including ambiguous ones, -# rather than just directly fixing the ones it can. +# rather than only directly fixing the ones it can. # Success error code if no mistakes or only auto-fixable mistakes found. # Failure error code if one or more ambiguous fixes found (requiring interactive fixing). # See https://github.com/codespell-project/codespell -# or just run pip3 install codespell +# or run pip3 install codespell set -e diff --git a/scripts/format-and-spellcheck.sh b/scripts/format-and-spellcheck.sh index cc98f46dd..bf145906b 100755 --- a/scripts/format-and-spellcheck.sh +++ b/scripts/format-and-spellcheck.sh @@ -31,7 +31,7 @@ PATCH_NAME=fixes.diff else # At least one non-auto-fixable error. e.g. "a o t h e r" (remove spaces) echo - echo "Codespell found at least one issue it couldn't auto-fix, see above." + echo "Codespell found at least one issue it couldn't auto-fix, see preceding." echo "If the issue isn't actually a problem, edit IGNORE_WORDS_LIST in $(dirname $0)/codespell-project.sh" echo "Otherwise, you may run \`$(dirname $0)/codespell-project.sh -i 3\` locally to interactively fix." echo