Skip to content

Commit

Permalink
Update evaluator.py
Browse files Browse the repository at this point in the history
kyu_8/greek_sort/evaluator.py:10 in public function `evaluator`:
        D401: First line should be in imperative mood (perhaps 'Evaluate', not 'evaluator')

        [Docstring] prescribes the function or method's effect as a command:
        ("Do this", "Return that"), not as a description; e.g. don't write
        "Returns the pathname ...".
  • Loading branch information
ikostan committed Dec 24, 2024
1 parent ffff071 commit a6c59da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kyu_8/greek_sort/evaluator.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

def evaluator(result: int, expected: str) -> bool:
"""
'evaluator' function.
Comparator for a list of phonetic words.
:param result: int
:param expected: str
Expand Down

0 comments on commit a6c59da

Please sign in to comment.