Skip to content

Commit 2b6f7a6

Browse files
committed
Remove unnecessary super().__init__() call
The class doesn't derive from another class, so this call is unnecessary. Signed-off-by: Sahas Subramanian <[email protected]>
1 parent a8eb0a5 commit 2b6f7a6

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/frequenz/sdk/microgrid/_power_distributing/_distribution_algorithm/_battery_distribution_algorithm.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -370,8 +370,6 @@ def __init__(self, distributor_exponent: float = 1) -> None:
370370
ValueError: If distributor_exponent < 0
371371
372372
"""
373-
super().__init__()
374-
375373
if distributor_exponent < 0:
376374
raise ValueError("Distribution factor should be float >= 0.")
377375
self._distributor_exponent: float = distributor_exponent

0 commit comments

Comments
 (0)