Skip to content

[1.1] ci: fix for codespell 2.2#3562

Merged
kolyshkin merged 1 commit intoopencontainers:release-1.1from
kolyshkin:1.1-ci-codespell-2.2
Aug 18, 2022
Merged

[1.1] ci: fix for codespell 2.2#3562
kolyshkin merged 1 commit intoopencontainers:release-1.1from
kolyshkin:1.1-ci-codespell-2.2

Conversation

@kolyshkin
Copy link
Contributor

Backport of #3561 to release-1.1 branch. Original description follows.


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 kolyshkin@gmail.com
(cherry picked from commit df9e32b)
Signed-off-by: Kir Kolyshkin kolyshkin@gmail.com

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 <kolyshkin@gmail.com>
(cherry picked from commit df9e32b)
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
@kolyshkin kolyshkin merged commit 1c6dc76 into opencontainers:release-1.1 Aug 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants