Enable mccabe complexity checks in flake8 (#49616)
Co-authored-by: Franck Nijhof <git@frenck.dev>
This commit is contained in:
parent
9f8e683ae3
commit
3fa8ffa731
42 changed files with 51 additions and 40 deletions
|
@ -359,7 +359,7 @@ class MqttClimate(MqttEntity, ClimateEntity):
|
|||
tpl.hass = self.hass
|
||||
self._command_templates = command_templates
|
||||
|
||||
async def _subscribe_topics(self):
|
||||
async def _subscribe_topics(self): # noqa: C901
|
||||
"""(Re)Subscribe to topics."""
|
||||
topics = {}
|
||||
qos = self._config[CONF_QOS]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue