Skip to content

Commit af6fc3e

Browse files
committed
Additional linting error in patterns/behavioral/strategy.py added spaces, changed to multiline string
1 parent 11113ea commit af6fc3e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎patterns/behavioral/strategy.py‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ def apply_discount(self) -> float:
5555
returnself.price-discount
5656

5757
def__repr__(self) ->str:
58-
returnf"<Order price: {self.price} with discount strategy: {getattr(self.discount_strategy,'__name__',None)}>"
58+
returnf"""
59+
<Order price: {self.price} with discount strategy: {getattr(self.discount_strategy, '__name__', None)}>
60+
"""
5961

6062

6163
deften_percent_discount(order: Order) ->float:

0 commit comments

Comments
(0)