1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-27 15:42:22 +01:00

Remove a bunch of unnecessary pylint disabling (#4079)

This commit is contained in:
Jesse Hills
2022-11-24 11:09:19 +13:00
committed by GitHub
parent 81b4078871
commit b184b01600
16 changed files with 24 additions and 54 deletions

View File

@@ -88,7 +88,7 @@ def _add_data_ref(fn):
return wrapped
class ESPHomeLoader(yaml.SafeLoader): # pylint: disable=too-many-ancestors
class ESPHomeLoader(yaml.SafeLoader):
"""Loader class that keeps track of line numbers."""
@_add_data_ref
@@ -419,7 +419,7 @@ def is_secret(value):
return None
class ESPHomeDumper(yaml.SafeDumper): # pylint: disable=too-many-ancestors
class ESPHomeDumper(yaml.SafeDumper):
def represent_mapping(self, tag, mapping, flow_style=None):
value = []
node = yaml.MappingNode(tag, value, flow_style=flow_style)