From 2990aaa343d4d9f75891d914b0a2a0f5960d9258 Mon Sep 17 00:00:00 2001 From: John Bampton Date: Sun, 18 Sep 2022 00:21:25 +1000 Subject: [PATCH] pre-commit autoupdate, fix spelling, update codespell.txt https://pre-commit.com/#pre-commit-autoupdate --- .pre-commit-config.yaml | 6 +++--- codespell.txt | 3 +++ mrbgems/mruby-string-ext/src/string.c | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ca684aaa0..b38ae58dd 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -32,14 +32,14 @@ repos: # - id: forbid-tabs # - id: remove-tabs - repo: https://github.com/codespell-project/codespell - rev: v2.1.0 + rev: v2.2.1 hooks: - id: codespell name: Run codespell description: Check spelling with codespell entry: codespell --ignore-words=codespell.txt - repo: https://github.com/igorshubovych/markdownlint-cli - rev: v0.32.1 + rev: v0.32.2 hooks: - id: markdownlint name: Run markdownlint @@ -48,7 +48,7 @@ repos: types: [markdown] files: \.(md|mdown|markdown)$ - repo: https://github.com/adrienverge/yamllint - rev: v1.27.1 + rev: v1.28.0 hooks: - id: yamllint name: Run yamllint diff --git a/codespell.txt b/codespell.txt index dcc0ddb43..d6d80b079 100644 --- a/codespell.txt +++ b/codespell.txt @@ -1,8 +1,10 @@ ans ba +clen creat delet disabl +falsy filetest fo hel @@ -12,6 +14,7 @@ methid nd quitt remore +ro runn sting upto diff --git a/mrbgems/mruby-string-ext/src/string.c b/mrbgems/mruby-string-ext/src/string.c index 311229d6d..916487260 100644 --- a/mrbgems/mruby-string-ext/src/string.c +++ b/mrbgems/mruby-string-ext/src/string.c @@ -446,7 +446,7 @@ tr_bitmap_detect(uint8_t bitmap[32], uint8_t ch) return FALSE; } -/* compile patter to bitmap */ +/* compile pattern to bitmap */ static void tr_compile_pattern(const struct tr_pattern *pat, mrb_value pstr, uint8_t bitmap[32]) {