Cleanup: spelling & repeated terms (make check_spelling_*)

Also use comment blocks for English text.
This commit is contained in:
Campbell Barton
2025-03-27 01:13:34 +00:00
parent 6f95b7e9a4
commit 42ad772a1f
20 changed files with 45 additions and 42 deletions

View File

@@ -541,7 +541,7 @@ def version_extraction(report_body: str) -> tuple[list[str], list[str]]:
if lower_line.startswith('work'):
# Use `work` to be able to detect both "worked" and "working".
if (not example_in_line) and not ("brok" in lower_line):
# Don't add the line to the working_lines if it contains the letters "brok"
# Don't add the line to the working_lines if it contains the letters `brok`.
# because it means the user probably wrote something like "Worked: It was also broken in X.X"
# which lead to incorrect information.
working_lines += f'{line}\n'