From 7f1ec2b7373c786b38e870cb1f88f6a645b670d5 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 14 Oct 2024 22:49:05 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- ansq/tcp/connection.py | 2 +- setup.cfg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ansq/tcp/connection.py b/ansq/tcp/connection.py index d13aff9..56a8387 100644 --- a/ansq/tcp/connection.py +++ b/ansq/tcp/connection.py @@ -559,7 +559,7 @@ async def subscribe( await self.rdy(messages_count) - async def messages(self) -> AsyncGenerator[NSQMessage, None]: + async def messages(self) -> AsyncGenerator[NSQMessage]: """Generator, yields messages""" assert self.is_subscribed, "You should subscribe to the topic first" diff --git a/setup.cfg b/setup.cfg index dc1d80c..32de045 100644 --- a/setup.cfg +++ b/setup.cfg @@ -25,7 +25,7 @@ packages = find: install_requires = aiohttp>=1.0.0 attrs>=20.1 -python_requires = >=3.8 +python_requires = >=3.9 include_package_data = True [options.packages.find]