[codespell] start fixing all the typos

this is the inital patch of applying codespell to nova.
codespell is a programing focused spellchecker that
looks for common typos and corrects them.

i am breaking this into multiple commits to make it simpler
to read and will automate the execution of codespell
at the end of the series.

Change-Id: If24a6c0a890f713545faa2d44b069c352655274e
This commit is contained in:
Sean Mooney
2023-10-03 00:51:35 +01:00
parent 87d4807848
commit 7402822f0b
25 changed files with 49 additions and 36 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ Nova Specific Commandments
assertNotRegexpMatches
- [N362] Imports for privsep modules should be specific. Use "import nova.privsep.path",
not "from nova.privsep import path". This ensures callers know that the method they're
calling is using priviledge escalation.
calling is using privilege escalation.
- [N363] Disallow ``(not_a_tuple)`` because you meant ``(a_tuple_of_one,)``.
- [N364] Check non-existent mock assertion methods and attributes.
- [N365] Check misuse of assertTrue/assertIsNone.