mirror of
https://github.com/esphome/esphome.git
synced 2025-09-04 04:12:23 +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:
@@ -52,9 +52,7 @@ async def register_component(var, config):
|
||||
id_ = str(var.base)
|
||||
if id_ not in CORE.component_ids:
|
||||
raise ValueError(
|
||||
"Component ID {} was not declared to inherit from Component, "
|
||||
"or was registered twice. Please create a bug report with your "
|
||||
"configuration.".format(id_)
|
||||
f"Component ID {id_} was not declared to inherit from Component, or was registered twice. Please create a bug report with your configuration."
|
||||
)
|
||||
CORE.component_ids.remove(id_)
|
||||
if CONF_SETUP_PRIORITY in config:
|
||||
|
Reference in New Issue
Block a user