ci: update codespell config

Codespell had its first release in a year yesterday and added some
dictionary rules that are now being flagged in our code. Only one
issue required changes to our code, so modify the codespell config to
allow the words we want to allow.

Signed-off-by: Blaine Gardner <blaine.gardner@redhat.com>
(cherry picked from commit 5b0a22ca46)

# Conflicts:
#	pkg/operator/ceph/object/objectstore_test.go
This commit is contained in:
Blaine Gardner committed 2022-08-18 09:30:49 -06:00
1 parent 97e8185dd8
commit ed6cea3b05
1 file changed
+7 -2
+7 -2
View File
@@ -22,7 +22,11 @@ jobs:
- name: codespell
uses: codespell-project/actions-codespell@master
with:
skip: .git,*.png,*.jpg,*.svg,*.sum
# LICENSE: skip file because codespell wants to flag complies, which we may want to flag
# in other places, so ignore the file itself assuming it is correct
# crds.yaml, resources.yaml: CRD files are fully generated from content we control (should
# be flagged elsewhere) and content we don't control (can't fix easily), so ignore
skip: .git,*.png,*.jpg,*.svg,*.sum,./LICENSE,./deploy/examples/crds.yaml,./deploy/charts/rook-ceph/templates/resources.yaml
# aks: Amazon Kubernetes Service
# keyserver: flag to apt-key
# atleast: codespell wants to flag any 'AtLeast' method
@@ -32,6 +36,7 @@ jobs:
# te: udev persistent naming test in pkg/daemon/ceph/osd/daemon_test.go
# parm: modinfo parameter
# assigment: inherited from K8s TopologySpreadConstraints dependency
ignore_words_list: aks,keyserver,atleast,ser,ist,ba,iam,te,parm,assigment
# ro, RO: means read-only
ignore_words_list: aks,keyserver,atleast,ser,ist,ba,iam,te,parm,assigment,ro,RO
check_filenames: true
check_hidden: true