diff options
author | Ed Tanous <ed@tanous.net> | 2024-01-03 00:16:50 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2024-01-09 20:44:00 +0300 |
commit | 8ece0e457ee994e54c23ee7393fbce831d81a954 (patch) | |
tree | d673c8d7c744c2057a7250e4027e82249480c2fe /scripts | |
parent | f3cb5df94799e94df37f9e2e6c2fcc473e0cae4a (diff) | |
download | bmcweb-8ece0e457ee994e54c23ee7393fbce831d81a954.tar.xz |
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>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/generate_schema_collections.py | 2 | ||||
-rwxr-xr-x | scripts/generate_schema_enums.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/generate_schema_collections.py b/scripts/generate_schema_collections.py index d6efa0efe2..c44ca59155 100755 --- a/scripts/generate_schema_collections.py +++ b/scripts/generate_schema_collections.py @@ -199,7 +199,7 @@ def parse_navigation_property( 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 3a147ffd82..a2e7ee2e2f 100755 --- a/scripts/generate_schema_enums.py +++ b/scripts/generate_schema_enums.py @@ -91,7 +91,7 @@ def write_enum_list(redfish_defs_file, enum_list, snake_case_namespace): 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. |