diff --git a/bear-requirements.txt b/bear-requirements.txt index 8d6a60a46f..6f33187a0b 100644 --- a/bear-requirements.txt +++ b/bear-requirements.txt @@ -20,7 +20,7 @@ libclang-py3~=3.4.0 lxml>=1.0,<4.4.0 memento-client~=0.6.1 munkres~=1.1.2 -mypy==0.590 +mypy>=0.590 nbformat~=4.1 nltk~=3.2 proselint~=0.7.0 diff --git a/bear-requirements.yaml b/bear-requirements.yaml index d168d4535c..d8c8d882e8 100644 --- a/bear-requirements.yaml +++ b/bear-requirements.yaml @@ -47,7 +47,7 @@ pip_requirements: munkres: version: ~=1.1.2 mypy: - version: ==0.590 + version: >=0.590 nbformat: version: ~=4.1 nltk: diff --git a/bears/python/MypyBear.py b/bears/python/MypyBear.py index 3381f4f490..70efa50c7c 100644 --- a/bears/python/MypyBear.py +++ b/bears/python/MypyBear.py @@ -96,7 +96,7 @@ class MypyBear: LANGUAGES = {'Python', 'Python 2', 'Python 3'} AUTHORS = {'Petr Viktorin'} - REQUIREMENTS = {PipRequirement('mypy', '==0.590')} + REQUIREMENTS = {PipRequirement('mypy', '>=0.590')} AUTHORS_EMAILS = {'encukou@gmail.com'} LICENSE = 'AGPL-3.0' ASCIINEMA_URL = 'https://asciinema.org/a/90736'