mirror of
https://github.com/NousResearch/atropos.git
synced 2026-04-19 12:57:58 +00:00
hopefully final linter fixes lol
This commit is contained in:
parent
67869c3a79
commit
85296c519e
29 changed files with 76 additions and 155 deletions
|
|
@ -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}'")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue