From 7a87d2334a09eacfa95280db1b9079d47c349c3f Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Sat, 27 Oct 2018 15:23:26 +0200 Subject: [PATCH] flake8 update to 3.6.0 (#777) * flake8 update to 3.6.0 * fix lint --- hassio/api/proxy.py | 2 +- tox.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hassio/api/proxy.py b/hassio/api/proxy.py index f67a1adc5..424c4affa 100644 --- a/hassio/api/proxy.py +++ b/hassio/api/proxy.py @@ -153,7 +153,7 @@ class APIProxy(CoreSysAttributes): except (RuntimeError, ValueError, ClientConnectorError) as err: _LOGGER.error("Client error on WebSocket API %s.", err) - except HomeAssistantAuthError as err: + except HomeAssistantAuthError: _LOGGER.error("Failed authentication to Home Assistant WebSocket") raise APIError() diff --git a/tox.ini b/tox.ini index 23310edf9..16c09e69f 100644 --- a/tox.ini +++ b/tox.ini @@ -3,7 +3,7 @@ envlist = lint [testenv] deps = - flake8==3.5.0 + flake8==3.6.0 pylint==2.1.1 -r{toxinidir}/requirements.txt