From f9f6c827c15a9399b48b536bf3f397c18ddbdf92 Mon Sep 17 00:00:00 2001 From: Himanshu Balasamanta <44469499+Himanshu-Balasamanta@users.noreply.github.com> Date: Mon, 14 Mar 2022 23:47:53 +0530 Subject: [PATCH] Fixes #870 (#871) * Fixes #870 Signed-off-by: Himanshu-Balasamanta * Updated mypy version in setup.py to == 0.931 * Update setup.py Co-authored-by: Nikita Sobolev --- requirements.txt | 1 + setup.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 485644f5f..d6bb5025c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -9,3 +9,4 @@ pytest-mypy-plugins==1.9.3 psycopg2-binary -e ./django_stubs_ext -e . +mypy==0.931 diff --git a/setup.py b/setup.py index 91a770c8b..75fd48357 100644 --- a/setup.py +++ b/setup.py @@ -21,7 +21,7 @@ def find_stub_files(name: str) -> List[str]: readme = f.read() dependencies = [ - "mypy>=0.931", + "mypy>=0.930,<0.940", "django", "django-stubs-ext>=0.3.0", "tomli",