From a38c0d6d1501dbbeb77ae9b602f68f758700ebae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Sun, 22 Jul 2018 14:37:26 +0300 Subject: [PATCH] Upgrade mypy to 0.620 (#15612) --- homeassistant/core.py | 2 +- requirements_test.txt | 2 +- requirements_test_all.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/homeassistant/core.py b/homeassistant/core.py index 947ab78b673..f868c52cfb0 100644 --- a/homeassistant/core.py +++ b/homeassistant/core.py @@ -126,7 +126,7 @@ class HomeAssistant: else: self.loop = loop or asyncio.get_event_loop() - executor_opts = {'max_workers': None} + executor_opts = {'max_workers': None} # type: Dict[str, Any] if sys.version_info[:2] >= (3, 6): executor_opts['thread_name_prefix'] = 'SyncWorker' diff --git a/requirements_test.txt b/requirements_test.txt index db53699379c..4d1f86059fc 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -6,7 +6,7 @@ coveralls==1.2.0 flake8-docstrings==1.0.3 flake8==3.5 mock-open==1.3.1 -mypy==0.610 +mypy==0.620 pydocstyle==1.1.1 pylint==1.9.2 pytest-aiohttp==0.3.0 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index 3de2285eae9..aad851a93cb 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -7,7 +7,7 @@ coveralls==1.2.0 flake8-docstrings==1.0.3 flake8==3.5 mock-open==1.3.1 -mypy==0.610 +mypy==0.620 pydocstyle==1.1.1 pylint==1.9.2 pytest-aiohttp==0.3.0