Fix spelling mistakes
These were found with:
codespell -w $(git ls-files | grep "\.[hc]\(pp\)\?$")
At some point in the future, we might want to get this enabled in CI.
Change-Id: Iccb57b2adfd06a2e177e99db2923fe4e8e329118
Signed-off-by: Ed Tanous <ed@tanous.net>
diff --git a/scripts/generate_schema_collections.py b/scripts/generate_schema_collections.py
index d6efa0e..c44ca59 100755
--- a/scripts/generate_schema_collections.py
+++ b/scripts/generate_schema_collections.py
@@ -199,7 +199,7 @@
if new_path == "/redfish/v1/Tasks":
new_path2 = "/redfish/v1/TaskService"
- # If we had to apply special handling then we need to remove the inital
+ # If we had to apply special handling then we need to remove the initial
# version of the URI if it was previously added
if new_path2 != "":
if new_path in seen_paths:
diff --git a/scripts/generate_schema_enums.py b/scripts/generate_schema_enums.py
index 3a147ff..a2e7ee2 100755
--- a/scripts/generate_schema_enums.py
+++ b/scripts/generate_schema_enums.py
@@ -91,7 +91,7 @@
values = element.values
if "Invalid" not in values:
values.insert(0, "Invalid")
- # nlohmann::json aparently uses c style arrays in their enum
+ # nlohmann::json apparently uses c style arrays in their enum
# implementation, and clang-tidy isn't smart enough to figure out that
# the C arrays are in their code not bmcwebs, so we have to explicitly
# ignore the error.