Skip to content

Commit 87a1777

Browse files
committed
linter reformats quote marks in strategy pattern
1 parent e0b0061 commit 87a1777

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

patterns/behavioral/strategy.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def apply_discount(self) -> float:
5555
return self.price - discount
5656

5757
def __repr__(self) -> str:
58-
strategy = getattr(self.discount_strategy, '__name__', None)
58+
strategy = getattr(self.discount_strategy, "__name__", None)
5959
return f"<Order price: {self.price} with discount strategy: {strategy}>"
6060

6161

0 commit comments

Comments
 (0)