Skip to content

Commit

Permalink
Update calculator.py
Browse files Browse the repository at this point in the history
kyu_3/calculator/calculator.py:42 in private method `__calculate`:
        D202: No blank lines allowed after function docstring (found 1)

        There's no blank line either before or after the docstring unless directly
        followed by an inner function or class.
  • Loading branch information
ikostan committed Dec 3, 2024
1 parent 1be92f9 commit d38d5a2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion kyu_3/calculator/calculator.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ def result(self) -> float:
def __calculate(i: int, char: str, strings: list) -> None:
"""
Calculate method.
1. Perform math operation.
2. Reorganize math expression.
Expand Down

0 comments on commit d38d5a2

Please sign in to comment.