Skip to content

Commit e52916d

Browse files
committed
github/workflows: Add check for misspelling of "MicroPython".
"MicroPython" is sometimes misspelled as "Micropython". Add an explicit check for that as part of CI (note that codespell doesn't consider case when spelling, hence the need to do it this way). Signed-off-by: Damien George <damien@micropython.org>
1 parent 3a487c3 commit e52916d

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/codespell.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,9 @@ jobs:
1010
# codespell version should be kept in sync with .pre-commit-config.yml
1111
- run: pip install --user codespell==2.4.1 tomli
1212
- run: codespell
13-
13+
# additionally check for misspelling of "MicroPython"
14+
- run: |
15+
if git grep -n Micropython -- ":(exclude).github/workflows/codespell.yml"; then
16+
echo "Please correct capitalisation of MicroPython on the above lines"
17+
exit 1
18+
fi

0 commit comments

Comments
 (0)