Skip to content

Commit

Permalink
Additional formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
dianzrong committed May 11, 2023
1 parent 2dcf6cd commit e0ddbe8
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions puterbot/strategies/summary_mixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,11 @@ def __init__(
super().__init__(recording)

def get_summary(
self, ascii_curr: str, ascii_prev: str, ocr_curr: str, ocr_prev: str
self,
ascii_curr: str,
ascii_prev: str,
ocr_curr: str,
ocr_prev: str,
) -> float:
"""Returns how similar the contents of 2 screenshots are.
Expand Down Expand Up @@ -81,7 +85,10 @@ def clean_ascii(
return "".join(ascii_words)


def compare_text(text1: str, text2: str) -> float:
def compare_text(
text1: str,
text2: str,
) -> float:
"""
Returns a float value representing how similar the 2 strings are.
"""
Expand Down

0 comments on commit e0ddbe8

Please sign in to comment.