ci: Check spelling with codespell

* You can ignore words inline by adding a comment like `# codespell:ignore word`.
* You can ignore words by adding them to the `.codespell_ignores` file.
* You can ignore files and directories by adding them with `skip = ` to the `.codespellrc` file.

Signed-off-by: Sergei Petrosian <spetrosi@redhat.com>
This commit is contained in:
Sergei Petrosian 2025-02-12 12:54:35 +01:00 committed by Sergei Petrosian
parent 1b57520aa9
commit 62d3bdc110
12 changed files with 64 additions and 38 deletions

View file

@ -2012,7 +2012,7 @@ class ArgValidator_DictConnection(ArgValidatorDict):
# If there are no runtime changes, "wait" and "force_state_change" do
# not make sense
# FIXME: Maybe this restriction can be removed. Need to make sure that
# defaults for wait or force_state_change do not interfer
# defaults for wait or force_state_change do not interfere
if not state:
while "wait" in valid_fields:
valid_fields.remove("wait")

View file

@ -93,7 +93,7 @@ class _NmMainLoop(object):
self._mainloop = None
def quit(self):
logging.debug("NM mainloop quiting")
logging.debug("NM mainloop quitting")
self._mainloop.quit()
self._clean_up()