From d38d5a2b8eb723a4d0787974782ba2b0f2d1749a Mon Sep 17 00:00:00 2001 From: Egor Kostan Date: Tue, 3 Dec 2024 09:30:56 -0800 Subject: [PATCH] Update calculator.py 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. --- kyu_3/calculator/calculator.py | 1 - 1 file changed, 1 deletion(-) diff --git a/kyu_3/calculator/calculator.py b/kyu_3/calculator/calculator.py index 840b4df02c1..f79a6cbdbba 100644 --- a/kyu_3/calculator/calculator.py +++ b/kyu_3/calculator/calculator.py @@ -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.