Skip to content

Commit ebeb447

Browse files
committed
Add missing space
1 parent 40a0c71 commit ebeb447

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

plugwise_usb/messages/requests.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -750,7 +750,7 @@ class CircleClockSetRequest(PlugwiseRequest):
750750
_identifier = b"0016"
751751
_reply_identifier = b"0000"
752752

753-
def __init__( #pylint: disable=too-many-arguments
753+
def __init__( # pylint: disable=too-many-arguments
754754
self,
755755
send_fn: Callable[[PlugwiseRequest, bool], Awaitable[PlugwiseResponse | None]],
756756
mac: bytes,
@@ -1083,7 +1083,7 @@ class NodeAddToGroupRequest(PlugwiseRequest):
10831083
_identifier = b"0045"
10841084
_reply_identifier = b"0000"
10851085

1086-
def __init__( #pylint: disable=too-many-arguments
1086+
def __init__( # pylint: disable=too-many-arguments
10871087
self,
10881088
send_fn: Callable[[PlugwiseRequest, bool], Awaitable[PlugwiseResponse | None]],
10891089
mac: bytes,
@@ -1231,7 +1231,7 @@ class NodeSleepConfigRequest(PlugwiseRequest):
12311231
_identifier = b"0050"
12321232
_reply_identifier = b"0000"
12331233

1234-
def __init__( #pylint: disable=too-many-arguments
1234+
def __init__( # pylint: disable=too-many-arguments
12351235
self,
12361236
send_fn: Callable[[PlugwiseRequest, bool], Awaitable[PlugwiseResponse | None]],
12371237
mac: bytes,
@@ -1402,7 +1402,7 @@ class ScanConfigureRequest(PlugwiseRequest):
14021402
_identifier = b"0101"
14031403
_reply_identifier = b"0100"
14041404

1405-
def __init__( #pylint: disable=too-many-arguments
1405+
def __init__( # pylint: disable=too-many-arguments
14061406
self,
14071407
send_fn: Callable[[PlugwiseRequest, bool], Awaitable[PlugwiseResponse | None]],
14081408
mac: bytes,

plugwise_usb/nodes/circle.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -911,7 +911,7 @@ async def _node_info_load_from_cache(self) -> bool:
911911
return result
912912
return False
913913

914-
async def update_node_details( #pylint: disable=too-many-arguments
914+
async def update_node_details( # pylint: disable=too-many-arguments
915915
self,
916916
firmware: datetime | None,
917917
hardware: str | None,

plugwise_usb/nodes/helpers/counter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def add_pulse_log(
8888
timestamp: datetime,
8989
pulses: int,
9090
import_only: bool = False
91-
) -> None: #pylint: disable=too-many-arguments
91+
) -> None: # pylint: disable=too-many-arguments
9292
"""Add pulse log."""
9393
if self._pulse_collection.add_log(
9494
address,

plugwise_usb/nodes/helpers/pulses.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ def add_log(
370370
timestamp: datetime,
371371
pulses: int,
372372
import_only: bool = False,
373-
) -> bool: #pylint: disable=too-many-arguments
373+
) -> bool: # pylint: disable=too-many-arguments
374374
"""Store pulse log."""
375375
log_record = PulseLogRecord(timestamp, pulses, CONSUMED)
376376
if not self._add_log_record(address, slot, log_record):

plugwise_usb/nodes/sed.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,7 @@ async def schedule_task_when_awake(
657657
self._send_task_queue.append(task_fn)
658658
self._send_task_lock.release()
659659

660-
async def sed_configure( #pylint: disable=too-many-arguments
660+
async def sed_configure( # pylint: disable=too-many-arguments
661661
self,
662662
awake_duration: int,
663663
sleep_duration: int,
@@ -712,7 +712,7 @@ async def sed_configure( #pylint: disable=too-many-arguments
712712
)
713713
return False
714714

715-
async def _sed_configure_update( #pylint: disable=too-many-arguments
715+
async def _sed_configure_update( # pylint: disable=too-many-arguments
716716
self,
717717
awake_duration: int = SED_DEFAULT_AWAKE_DURATION,
718718
clock_interval: int = SED_DEFAULT_CLOCK_INTERVAL,

0 commit comments

Comments
 (0)