* Upgrade flake8 to 3.5

* Fix flake8 bare except errors

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

No files matched your search

+1 -1
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)