Skip to content

Commit

Permalink
trying to pease the linter
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Hoch committed Dec 19, 2023
1 parent 287f06e commit 9442888
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyvlx/pyvlx.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ async def reboot_gateway(self) -> None:
await self.klf200.reboot()

def get_connected(self) -> bool:
"""Returns whether the gateway is currently connected."""
"""Return whether the gateway is currently connected."""
return self.connection.connected

async def check_connected(self) -> None:
Expand Down Expand Up @@ -123,7 +123,7 @@ async def get_limitation(self, node_id: int) -> None:
await limit.do_api_call()

async def on_connection_closed_cb(self) -> None:
"""Callback when connection to KLF 200 is closed."""
"""Handle KLF 200 closed connection callback."""
PYVLXLOG.debug("Connecting to KLF 200 was closed")
for node in self.nodes:
await self.loop.create_task(node.after_update())

0 comments on commit 9442888

Please sign in to comment.