From 34ec8a81d8aa41422ef0534ef41342f10184e7fe Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Fri, 5 Sep 2025 08:11:58 +0200 Subject: [PATCH 1/2] Fix typo discovered by codespell --- tests/test_update_version_next.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_update_version_next.py b/tests/test_update_version_next.py index 95358ee7..10d197a6 100644 --- a/tests/test_update_version_next.py +++ b/tests/test_update_version_next.py @@ -8,7 +8,7 @@ Directives to change -------------------- -Here, all occurences of NEXT (lowercase) should be changed: +Here, all occurrences of NEXT (lowercase) should be changed: .. versionadded:: next From ae4ed05e3c292bc2481a8f912e320daeff842319 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Fri, 5 Sep 2025 08:13:37 +0200 Subject: [PATCH 2/2] Fix typo in assertion error message --- sbom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sbom.py b/sbom.py index 0f0208e5..813058c1 100644 --- a/sbom.py +++ b/sbom.py @@ -362,7 +362,7 @@ def create_pip_sbom_from_wheel( match = version_pin_re.match(line) assert ( match is not None - ), f"Unparseable line in vendor.txt: {line!r}" # Make mypy happy. + ), f"Unparsable line in vendor.txt: {line!r}" # Make mypy happy. # Parse out and normalize the project name. project_name, project_version = match.groups()