Remove pylint configs flagged by useless-suppression (#99081)

This commit is contained in:
Ville Skyttä 2023-08-26 17:46:03 +03:00 committed by GitHub
parent a25a7ebbeb
commit c287bd1a3b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 5 additions and 15 deletions

View file

@ -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",