tools/ci.sh: Add functions to check code spelling using codespell.
Signed-off-by: Damien George <damien@micropython.org> tools/ci.sh: Explicitly specify pyproject.toml. Signed-off-by: Damien George <damien@micropython.org> tools/ci.sh: Import tomli. Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
11
tools/ci.sh
11
tools/ci.sh
@@ -28,6 +28,17 @@ function ci_code_formatting_run {
|
||||
tools/codeformat.py -v
|
||||
}
|
||||
|
||||
########################################################################################
|
||||
# code spelling
|
||||
|
||||
function ci_code_spell_setup {
|
||||
pip3 install codespell tomli
|
||||
}
|
||||
|
||||
function ci_code_spell_run {
|
||||
codespell
|
||||
}
|
||||
|
||||
########################################################################################
|
||||
# commit formatting
|
||||
|
||||
|
||||
Reference in New Issue
Block a user