Skip to content

Commit

Permalink
fix return type
Browse files Browse the repository at this point in the history
  • Loading branch information
jschlyter committed Jun 26, 2024
1 parent c24f67d commit fed438e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion chargeamps/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

class ChargeAmpsClient(metaclass=ABCMeta):
@abstractmethod
async def shutdown(self):
async def shutdown(self) -> None:
pass

@abstractmethod
Expand Down
2 changes: 1 addition & 1 deletion chargeamps/external.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def __init__(
self._token = None
self._token_expire = 0

async def shutdown(self):
async def shutdown(self) -> None:
await self._session.close()

async def _ensure_token(self):
Expand Down

0 comments on commit fed438e

Please sign in to comment.