aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNRK <nrk@disroot.org>2022-06-27 10:47:14 +0200
committerNRK <nrk@disroot.org>2022-06-27 10:47:14 +0200
commit50f7b767c97f36ba7887d3d98d9c21e3ea5decaf (patch)
tree4327aef341f023155ec75f64f16537a2ce68c417
parent82487293203cf5bad77e4fc8aa4da262e7b1c049 (diff)
[ci]: check for typos via codespell (#326)
also fix any found issues. Reviewed-on: https://codeberg.org/nsxiv/nsxiv/pulls/326 Reviewed-by: Berke Kocaoğlu <berke.kocaoglu@metu.edu.tr>
-rw-r--r--.woodpecker/spell.yml11
-rw-r--r--CHANGELOG.md4
2 files changed, 13 insertions, 2 deletions
diff --git a/.woodpecker/spell.yml b/.woodpecker/spell.yml
new file mode 100644
index 0000000..2c080ac
--- /dev/null
+++ b/.woodpecker/spell.yml
@@ -0,0 +1,11 @@
+branches: master
+
+# NOTE: codespell not available on stable alpine, use edge
+pipeline:
+ spell-check:
+ image: alpine:edge
+ commands: |
+ apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing py3-codespell >/dev/null
+ find . \( -name '*.patch' -o -name '*.diff' -o -name '*.md' \) -print | \
+ xargs -I{} codespell {}
+ codespell nsxiv.1 config.mk Makefile
diff --git a/CHANGELOG.md b/CHANGELOG.md
index c387650..8df77fb 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -96,12 +96,12 @@ be reached via `https://codeberg.org/nsxiv/nsxiv/pulls/ID`.
* New mouse-binding <kbd>Ctrl-Button1</kbd> for relative drag. (#117)
* Ability to configure colors and fonts in `config.h`. (#115)
* Ability to configure navigation width area in `config.h`. (#155)
- * Ability to customize the set of modifers used when processing keybindings
+ * Ability to customize the set of modifiers used when processing keybindings
in `config.h` via `USED_MODMASK`. (#150)
* Ability to configure Imlib2's cache size for better image (re)loading
performance in `config.h`. (#171)
* Cli flag `-0` for sending null-seperated file-list to standard out (`-o`),
- and key-handler and recieving null-seperated file-list via stdin (`-i`).
+ and key-handler and receiving null-seperated file-list via stdin (`-i`).
(#68) (#141) (#164)
* Export environment variable `NSXIV_USING_NULL` to key-handler. (#164)
* Embed new nsxiv icon. (#163)