Upgrade flake8 to 3.6.0 (#17770)
* Upgrade flake8 to 3.6.0 * flake8/pylint comment tweaks * flake8 F841 fixes * flake8 W605 fix * Ignore pyflakes bug #373 false positives https://github.com/PyCQA/pyflakes/issues/373 * pycodestyle bug #811 workaround https://github.com/PyCQA/pycodestyle/issues/811
This commit is contained in:
1 parent
77bf10e37c
commit
43048962f2
15 files changed
+19
-17
No files matched your search
@@ -130,7 +130,7 @@ class TcpSensor(Entity):
|
||||
self._state = self._config[CONF_VALUE_TEMPLATE].render(
|
||||
value=value)
|
||||
return
|
||||
except TemplateError as err:
|
||||
except TemplateError:
|
||||
_LOGGER.error(
|
||||
"Unable to render template of %r with value: %r",
|
||||
self._config[CONF_VALUE_TEMPLATE], value)
|
||||
|
||||
Reference in new issue
Block a user