1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00
* Upgrade flake8 to 3.5

* Fix flake8 bare except errors

* Make flake8 and pylint cooperate
This commit is contained in:
Ville Skyttä
2018-01-29 10:23:53 +02:00
committed by Paulus Schoutsen
parent 5426e5c875
commit 78a3c01f27
12 changed files with 15 additions and 21 deletions

View File

@@ -34,7 +34,7 @@ def get_error_log(hass, test_client, expected_count):
def _generate_and_log_exception(exception, log):
try:
raise Exception(exception)
except: # pylint: disable=bare-except
except: # noqa: E722 # pylint: disable=bare-except
_LOGGER.exception(log)