Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Leandro Lucarella <[email protected]>
Signed-off-by: Sahas Subramanian <[email protected]>
  • Loading branch information
shsms and llucax authored Mar 28, 2024
1 parent 74f7083 commit 72e0575
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def __init__(
component_pool_status_sender: Sender[ComponentPoolStatus],
results_sender: Sender[Result],
):
"""Initialize the battery data manager.
"""Initialize this instance.
Args:
component_pool_status_sender: Channel sender to send the status of the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class EvcStates:
_states: dict[int, EvcState]

def __init__(self) -> None:
"""Initialize the EvcStates object."""
"""Initialize this instance."""
self._states = {}

def get_ev_total_used_power(self) -> Power:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def __init__( # pylint: disable=too-many-arguments
status_sender: Sender[ComponentStatus],
set_power_result_receiver: Receiver[SetPowerResult],
) -> None:
"""Create an `EVChargerStatusTracker` instance.
"""Initialize this instance.
Args:
component_id: ID of the EV charger to monitor the status of.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -229,5 +229,5 @@ async def stop(self) -> None:

@property
def _system_power_bounds(self) -> ReceiverFetcher[SystemBounds]:
"""Return a receiver for the system power bounds."""
"""Return a receiver fetcher for the system power bounds."""
return self._ev_charger_pool.bounds_channel
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def __init__(
status_receiver: Receiver[ComponentPoolStatus],
bounds_sender: Sender[SystemBounds],
):
"""Initialize the system bounds tracker.
"""Initialize this instance.
Args:
component_ids: The ids of the components to track.
Expand Down

0 comments on commit 72e0575

Please sign in to comment.