mirror of
https://github.com/esphome/esphome.git
synced 2025-09-27 15:42:22 +01:00
Bump pylint from 2.10.2 to 2.11.1 (#2334)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Otto winter <otto@otto-winter.com>
This commit is contained in:
@@ -183,9 +183,7 @@ class ESPHomeLoader(yaml.SafeLoader): # pylint: disable=too-many-ancestors
|
||||
raise yaml.constructor.ConstructorError(
|
||||
"While constructing a mapping",
|
||||
node.start_mark,
|
||||
"Expected a mapping for merging, but found {}".format(
|
||||
type(item)
|
||||
),
|
||||
f"Expected a mapping for merging, but found {type(item)}",
|
||||
value_node.start_mark,
|
||||
)
|
||||
merge_pairs.extend(item.items())
|
||||
@@ -193,8 +191,7 @@ class ESPHomeLoader(yaml.SafeLoader): # pylint: disable=too-many-ancestors
|
||||
raise yaml.constructor.ConstructorError(
|
||||
"While constructing a mapping",
|
||||
node.start_mark,
|
||||
"Expected a mapping or list of mappings for merging, "
|
||||
"but found {}".format(type(value)),
|
||||
f"Expected a mapping or list of mappings for merging, but found {type(value)}",
|
||||
value_node.start_mark,
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user