mirror of
https://github.com/Andre0512/pyhOn.git
synced 2025-05-27 21:24:15 -04:00
Enable more pylint checks
This commit is contained in:
parent
e1c8bc5835
commit
5a778373b6
15 changed files with 58 additions and 43 deletions
|
@ -7,9 +7,10 @@ from typing import List, Optional, Dict, Any, Type
|
|||
from aiohttp import ClientSession
|
||||
from typing_extensions import Self
|
||||
|
||||
from pyhon import HonAPI, exceptions
|
||||
from pyhon.appliance import HonAppliance
|
||||
from pyhon.connection.api import HonAPI
|
||||
from pyhon.connection.api import TestAPI
|
||||
from pyhon.exceptions import NoAuthenticationException
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
@ -43,7 +44,7 @@ class Hon:
|
|||
@property
|
||||
def api(self) -> HonAPI:
|
||||
if self._api is None:
|
||||
raise exceptions.NoAuthenticationException
|
||||
raise NoAuthenticationException
|
||||
return self._api
|
||||
|
||||
@property
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue