hopefully final linter fixes lol

This commit is contained in:
teknium 2025-12-24 23:36:36 +00:00
parent 67869c3a79
commit 85296c519e
29 changed files with 76 additions and 155 deletions

View file

@ -125,7 +125,7 @@ def extract_letter_from_answer_tag(
content_to_check = answer_content
prefix_match = ANSWER_PREFIX_PATTERN.match(content_to_check)
if prefix_match:
content_to_check = content_to_check[prefix_match.end() :].strip()
content_to_check = content_to_check[prefix_match.end() :].strip() # noqa: E203
if debug:
print(f" Stripped prefix, remaining content: '{content_to_check}'")
@ -304,7 +304,7 @@ def extract_number_from_answer_tag(
content_to_check = answer_content
prefix_match = ANSWER_PREFIX_PATTERN.match(content_to_check)
if prefix_match:
content_to_check = content_to_check[prefix_match.end() :].strip()
content_to_check = content_to_check[prefix_match.end() :].strip() # noqa: E203
if debug:
print(f" Stripped prefix, remaining content: '{content_to_check}'")