From 28b0b490f93fe9f7964d0593b9ba600f4b24663e Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Fri, 5 Apr 2024 16:51:57 +0200 Subject: chore(ci): Add codespell support (config, workflow) and make it fix some typos (#1916) * Add github action to codespell main on push and PRs * Add rudimentary codespell config * ignore crate, inbetween etc * [DATALAD RUNCMD] run codespell throughout fixing typo automagically but ignoring the failure due to ambigous typos === Do not change lines below === { "chain": [], "cmd": "codespell -w || :", "exit": 0, "extra_inputs": [], "inputs": [], "outputs": [], "pwd": "." } ^^^ Do not change lines above ^^^ * [DATALAD RUNCMD] Do interactive fixing of leftover ambigous typos === Do not change lines below === { "chain": [], "cmd": "codespell -w -i 3 -C 2", "exit": 0, "extra_inputs": [], "inputs": [], "outputs": [], "pwd": "." } ^^^ Do not change lines above ^^^ --- .codespellrc | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .codespellrc (limited to '.codespellrc') diff --git a/.codespellrc b/.codespellrc new file mode 100644 index 00000000..8f9ed850 --- /dev/null +++ b/.codespellrc @@ -0,0 +1,7 @@ +[codespell] +# Ref: https://github.com/codespell-project/codespell#using-a-config-file +skip = .git*,*.lock,.codespellrc +check-hidden = true +# ignore-regex = +ignore-words-list = crate,ratatui,inbetween + -- cgit v1.3.1