From 7d3a962f7342221f782a045199bdf992650e1aee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Sun, 9 Dec 2018 21:22:08 +0200 Subject: [PATCH] Upgrade mypy to 0.650 (#19150) * Upgrade to 0.650 * Remove no longer needed type: ignore --- homeassistant/util/async_.py | 2 +- requirements_test.txt | 2 +- requirements_test_all.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/homeassistant/util/async_.py b/homeassistant/util/async_.py index 0185128abac..a4ad0e98a2e 100644 --- a/homeassistant/util/async_.py +++ b/homeassistant/util/async_.py @@ -28,7 +28,7 @@ except AttributeError: try: return loop.run_until_complete(main) finally: - asyncio.set_event_loop(None) # type: ignore # not a bug + asyncio.set_event_loop(None) loop.close() diff --git a/requirements_test.txt b/requirements_test.txt index d9c52bbd053..1cadd996c9c 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -6,7 +6,7 @@ coveralls==1.2.0 flake8-docstrings==1.3.0 flake8==3.6.0 mock-open==1.3.1 -mypy==0.641 +mypy==0.650 pydocstyle==2.1.1 pylint==2.2.2 pytest-aiohttp==0.3.0 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index 2512d74e044..4f77f457289 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -7,7 +7,7 @@ coveralls==1.2.0 flake8-docstrings==1.3.0 flake8==3.6.0 mock-open==1.3.1 -mypy==0.641 +mypy==0.650 pydocstyle==2.1.1 pylint==2.2.2 pytest-aiohttp==0.3.0