From 7df15bd99e61ef328bf2a197e609208e4d9e32ec Mon Sep 17 00:00:00 2001 From: cid Date: Fri, 24 May 2024 16:07:36 +0100 Subject: [PATCH] Fix codespell reported errors Fix and ignore spelling errors raised by codespell Change-Id: Ic3698b91f7ce6694b0b3589b38b26aa95e8b5a64 --- .../18440d0834af_introducing_the_aborting_state.py | 2 +- .../source/locale/en_GB/LC_MESSAGES/releasenotes.po | 10 +++++----- setup.cfg | 6 +++++- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/ironic_inspector/db/migrations/versions/18440d0834af_introducing_the_aborting_state.py b/ironic_inspector/db/migrations/versions/18440d0834af_introducing_the_aborting_state.py index 0289aa49d..4c0775a5b 100644 --- a/ironic_inspector/db/migrations/versions/18440d0834af_introducing_the_aborting_state.py +++ b/ironic_inspector/db/migrations/versions/18440d0834af_introducing_the_aborting_state.py @@ -55,5 +55,5 @@ def upgrade(): # redundant at this point. For what it is worth, while # batch_alter_table *does* include an option to prevent # recration, column widths cannot be modified dynamically with - # sqllite, which results in a different exception if attempted. + # sqlite, which results in a different exception if attempted. pass diff --git a/releasenotes/source/locale/en_GB/LC_MESSAGES/releasenotes.po b/releasenotes/source/locale/en_GB/LC_MESSAGES/releasenotes.po index ea343f706..646766677 100644 --- a/releasenotes/source/locale/en_GB/LC_MESSAGES/releasenotes.po +++ b/releasenotes/source/locale/en_GB/LC_MESSAGES/releasenotes.po @@ -202,7 +202,7 @@ msgstr "" msgid "" "A new option was added ``[pxe_filter]deny_unknown_macs`` which allow " -"changeing this behaviour so that the DHCP server only allow enrolled nodes " +"changing this behaviour so that the DHCP server only allow enrolled nodes " "being introspected and deny everything else." msgstr "" "A new option was added ``[pxe_filter]deny_unknown_macs`` which allow " @@ -311,7 +311,7 @@ msgstr "" "data stored in the swift to database, execute following command:" msgid "" -"Adds an ``accelerators`` plugin to identify acclerator devices and update " +"Adds an ``accelerators`` plugin to identify accelerator devices and update " "the bare metal node for future scheduling. The accelerator devices will be " "saved to node properties under the key ``accelerators``. Introduces a " "configuration option ``[accelerators]known_devices`` to specify a " @@ -1072,7 +1072,7 @@ msgstr "Pike Series (6.0.0 - 6.0.x) Release Notes" msgid "" "Plugin maintainers should be aware that the Node Cache object field " "``version_id`` filed is no longer in use. It is still returned by the data " -"model if stored for the purposes of compatability, but Inspector will not " +"model if stored for the purposes of compatibility, but Inspector will not " "update the field through the normal course of it's operation." msgstr "" "Plugin maintainers should be aware that the Node Cache object field " @@ -1198,7 +1198,7 @@ msgstr "Stein Series (8.1.0 - 8.2.x) Release Notes" msgid "" "Stops introspection when setting boot device is failed, as the node is not " -"guarenteed to perform a PXE boot in this case." +"guaranteed to perform a PXE boot in this case." msgstr "" "Stops introspection when setting boot device is failed, as the node is not " "guaranteed to perform a PXE boot in this case." @@ -1376,7 +1376,7 @@ msgstr "" "iptables pxe-filter.)" msgid "" -"The filter uses the systemd service name used by the RDO distrubution " +"The filter uses the systemd service name used by the RDO distribution " "(``openstack-ironic-inspector-dnsmasq.service``)." msgstr "" "The filter uses the systemd service name used by the RDO distribution " diff --git a/setup.cfg b/setup.cfg index e2d2d0ed7..8e3eaf96c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -94,4 +94,8 @@ oslo.policy.policies = quiet-level = 4 # Words to ignore: # cna: Intel CNA card -ignore-words-list = cna \ No newline at end of file +# assertIn: Python's unittest method +# discoverd: Intentional wrong spelling +# infromation: References a typo fix +ignore-words-list = cna,assertIn,discoverd,infromation +skip = AUTHORS \ No newline at end of file