Skip to content

Commit df9e32b

Browse files
committed
ci: fix for codespell 2.2
Recently released codespell 2.2 adds some more false positives, such as: ./Makefile:78: ro ==> to, row, rob, rod, roe, rot ./Makefile:88: ro ==> to, row, rob, rod, roe, rot ./notify_socket.go:51: ro ==> to, row, rob, rod, roe, rot ./LICENSE:128: complies ==> compiles ./go.sum:59: BU ==> BY ./types/features/features.go:17: ro ==> to, row, rob, rod, roe, rot ./libcontainer/rootfs_linux.go:52: ro ==> to, row, rob, rod, roe, rot ./libcontainer/rootfs_linux.go:166: ro ==> to, row, rob, rod, roe, rot .... ./tests/integration/cgroup_delegation.bats:38: inh ==> in ... To fix: - exclude go.sum; - add ro and complies to the list of ignored words; - s/inh/inherit in cgroup_delegation.bats. Signed-off-by: Kir Kolyshkin <[email protected]>
1 parent 7b6f515 commit df9e32b

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.codespellrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[codespell]
2-
skip = ./vendor,./.git
3-
ignore-words-list = clos,creat
2+
skip = ./vendor,./.git,./go.sum
3+
ignore-words-list = clos,creat,ro,complies

tests/integration/cgroup_delegation.bats

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ function setup() {
3535
[ "$output" = "nobody" ] # /sys/fs/cgroup owned by unmapped user
3636
}
3737

38-
@test "runc exec (cgroup v2, rw cgroupfs, inh cgroupns) does not chown cgroup" {
38+
@test "runc exec (cgroup v2, rw cgroupfs, inherit cgroupns) does not chown cgroup" {
3939
set_cgroup_mount_writable
4040

4141
# inherit cgroup namespace (remove cgroup from namespaces list)

0 commit comments

Comments
 (0)