Run pre-commit with GitHub Actions

Running pre-commit with GitHub Actions now gives us more tests and coverage

Remove duplicate GitHub Actions for merge conflicts and trailing whitespace

Remove duplicate checks for markdownlint and yamllint from the GitHub Super-Linter

Add new custom pre-commit hook running with a shell script to sort alphabetically and uniquify codespell.txt

Add new pre-commit hook to check spelling with codespell

https://github.com/codespell-project/codespell

Fix spelling
This commit is contained in:
John Bampton
2021-05-04 10:55:43 +10:00
parent 50b6fafddf
commit dab5502e8a
15 changed files with 83 additions and 40 deletions
+1 -1
View File
@@ -8,7 +8,7 @@
Routine for converting a single-precision
floating point number into a string.
The code in this funcion was inspired from Fred Bayer's pdouble.c.
The code in this function was inspired from Fred Bayer's pdouble.c.
Since pdouble.c was released as Public Domain, I'm releasing this
code as public domain as well.
+1 -1
View File
@@ -2161,7 +2161,7 @@ RETRY_TRY_BLOCK:
}
/* check jump destination */
while (cibase <= ci && ci->proc != dst) {
if (ci->acc < 0) { /* jump cross C boudary */
if (ci->acc < 0) { /* jump cross C boundary */
localjump_error(mrb, LOCALJUMP_ERROR_RETURN);
goto L_RAISE;
}