From 4260256218143cd394381759085d2f40a7ba8826 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 17 Jun 2024 16:29:20 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- aiozipkin/transport.py | 2 +- setup.py | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/aiozipkin/transport.py b/aiozipkin/transport.py index 671b43fc..b8141f76 100644 --- a/aiozipkin/transport.py +++ b/aiozipkin/transport.py @@ -14,7 +14,7 @@ DEFAULT_TIMEOUT = aiohttp.ClientTimeout(total=5 * 60) -BATCHES_MAX_COUNT = 10 ** 4 +BATCHES_MAX_COUNT = 10**4 DataList = List[Dict[str, Any]] SndBatches = Deque[Tuple[int, DataList]] diff --git a/setup.py b/setup.py index 4aebb3aa..636b3abe 100644 --- a/setup.py +++ b/setup.py @@ -5,10 +5,6 @@ from setuptools import find_packages, setup # type: ignore -if sys.version_info < (3, 6, 0): - raise RuntimeError("aiozipkin does not support Python earlier than 3.6.0") - - def read(f: str) -> str: return open(os.path.join(os.path.dirname(__file__), f)).read().strip()