diff --git a/pyhon/appliance.py b/pyhon/appliance.py index 3586f4a..3754aca 100644 --- a/pyhon/appliance.py +++ b/pyhon/appliance.py @@ -72,12 +72,10 @@ class HonAppliance: return self.info[item] @overload - def get(self, item: str, default: None = None) -> Any: - ... + def get(self, item: str, default: None = None) -> Any: ... @overload - def get(self, item: str, default: T) -> T: - ... + def get(self, item: str, default: T) -> T: ... def get(self, item: str, default: Optional[T] = None) -> Any: try: diff --git a/pyhon/typedefs.py b/pyhon/typedefs.py index 51a137b..68ddf73 100644 --- a/pyhon/typedefs.py +++ b/pyhon/typedefs.py @@ -14,8 +14,7 @@ if TYPE_CHECKING: class Callback(Protocol): # pylint: disable=too-few-public-methods def __call__( self, url: str | URL, *args: Any, **kwargs: Any - ) -> aiohttp.client._RequestContextManager: - ... + ) -> aiohttp.client._RequestContextManager: ... Parameter = Union[ diff --git a/requirements.txt b/requirements.txt index bc45835..81e74ff 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,3 @@ -aiohttp>=3.8 +aiohttp>=3.8.6 yarl>=1.8 typing-extensions>=4.8 diff --git a/setup.py b/setup.py index 3f29968..9ae2a1f 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ with open("README.md", "r", encoding="utf-8") as f: setup( name="pyhOn", - version="0.15.15", + version="0.15.16", author="Andre Basche", description="Control hOn devices with python", long_description=long_description, @@ -21,7 +21,7 @@ setup( packages=find_packages(), include_package_data=True, python_requires=">=3.10", - install_requires=["aiohttp>=3.8", "typing-extensions>=4.8", "yarl>=1.8"], + install_requires=["aiohttp>=3.8.6", "typing-extensions>=4.8", "yarl>=1.8"], classifiers=[ "Development Status :: 4 - Beta", "Environment :: Console",