From 0ac6923669273418ceeea8f8224fc03f975dd342 Mon Sep 17 00:00:00 2001 From: Pankaj Koti Date: Fri, 29 Apr 2022 14:12:19 +0530 Subject: [PATCH] Freeze mypy to 0.942 We're facing an issue where mypy is compalining that we're missing an await on `asyncio.sleep(polling_interval)` in astronomer/providers/apache/hive/hooks/hive.py:46 This is potentially because of the new release of mypy==0.950 including PR https://github.com/python/mypy/pull/12279 We don't face this issue with mypy==0.942 and hence, freezing it. --- setup.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index 019334a0e..a4311c33e 100644 --- a/setup.cfg +++ b/setup.cfg @@ -87,7 +87,7 @@ tests = pytest-cov pre-commit mypy = - mypy>=0.800 + mypy==0.942 types-aiofiles types-boto types-certifi