From 674630a3c46a092a52853a4e5f61f058fb366cda Mon Sep 17 00:00:00 2001 From: Kian-Meng Ang Date: Thu, 9 May 2024 23:58:27 +0800 Subject: [PATCH] docs: fix typos Found via `codespell -H` --- cli_support/license_tools.py | 2 +- show_licenses.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cli_support/license_tools.py b/cli_support/license_tools.py index 03493fd..15c0562 100644 --- a/cli_support/license_tools.py +++ b/cli_support/license_tools.py @@ -56,7 +56,7 @@ def is_source_code_shipping_license(spdx_identifier: str) -> bool: be ready to be shipped to customers. Please note that this is a very simplified approach.""" licenseUpper = spdx_identifier.upper() - if "GPL" in licenseUpper: # incudes LGPL + if "GPL" in licenseUpper: # includes LGPL return True if "CDDL" in licenseUpper: return True diff --git a/show_licenses.py b/show_licenses.py index 77e154c..71e1417 100644 --- a/show_licenses.py +++ b/show_licenses.py @@ -66,7 +66,7 @@ def process_cli_file(self, cli_filename: str) -> None: except OSError as ex: print(Fore.LIGHTRED_EX) print(" Error reading CLI file: " + cli_filename) - print(" Error '{0}' occured. Arguments {1}.".format(ex.errno, ex.args)) + print(" Error '{0}' occurred. Arguments {1}.".format(ex.errno, ex.args)) print(Fore.RESET) return