Remove pylint configs flagged by useless-suppression (#99081)
This commit is contained in:
parent
a25a7ebbeb
commit
c287bd1a3b
9 changed files with 5 additions and 15 deletions
|
@ -247,7 +247,7 @@ class MqttValueTemplate:
|
|||
payload, variables=values
|
||||
)
|
||||
)
|
||||
except Exception as ex: # pylint: disable=broad-except
|
||||
except Exception as ex:
|
||||
_LOGGER.error(
|
||||
"%s: %s rendering template for entity '%s', template: '%s'",
|
||||
type(ex).__name__,
|
||||
|
@ -274,7 +274,7 @@ class MqttValueTemplate:
|
|||
payload, default, variables=values
|
||||
)
|
||||
)
|
||||
except Exception as ex: # pylint: disable=broad-except
|
||||
except Exception as ex:
|
||||
_LOGGER.error(
|
||||
"%s: %s rendering template for entity '%s', template: "
|
||||
"'%s', default value: %s and payload: %s",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue