Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e1151ea

Browse files
authored
Merge pull request #947 from per1234/spellcheck-resolution
Print instructions for false positive resolution when spell check fails
2 parents 3b8ca9f + b255e66 commit e1151ea

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

‎Taskfile.yml‎

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,16 @@ tasks:
237237
vars:
238238
POETRY_GROUPS: dev
239239
cmds:
240-
- poetry run codespell
240+
- |
241+
if
242+
! poetry run \
243+
codespell
244+
then
245+
echo
246+
echo "If this was a false positive, add the word to the ignore list:"
247+
echo "https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/spell-check-task.md#false-positives"
248+
exit 1
249+
fi
241250
242251
# Source: https://github.com/arduino/tooling-project-assets/blob/main/workflow-templates/assets/spell-check-task/Taskfile.yml
243252
general:correct-spelling:

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /