Skip to content

Commit dab97ab

Browse files
committed
Fix a linter check
1 parent 5c5d70f commit dab97ab

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

solid-principles-python/shapes_lsp.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
# self.__dict__["width"] = value
2121
# self.__dict__["height"] = value
2222

23+
2324
# Good example
2425
class Shape(ABC):
2526
@abstractmethod
@@ -41,4 +42,4 @@ def __init__(self, side):
4142
self.side = side
4243

4344
def calculate_area(self):
44-
return self.side ** 2
45+
return self.side**2

0 commit comments

Comments
 (0)