mirror of
https://github.com/esphome/esphome.git
synced 2025-09-24 22:22:22 +01:00
Bump pylint from 2.5.3 to 2.6.0 (#1262)
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:
@@ -675,7 +675,7 @@ def _load_config(command_line_substitutions):
|
||||
try:
|
||||
config = yaml_util.load_yaml(CORE.config_path)
|
||||
except EsphomeError as e:
|
||||
raise InvalidYAMLError(e)
|
||||
raise InvalidYAMLError(e) from e
|
||||
CORE.raw_config = config
|
||||
|
||||
try:
|
||||
@@ -693,7 +693,7 @@ def load_config(command_line_substitutions):
|
||||
try:
|
||||
return _load_config(command_line_substitutions)
|
||||
except vol.Invalid as err:
|
||||
raise EsphomeError(f"Error while parsing config: {err}")
|
||||
raise EsphomeError(f"Error while parsing config: {err}") from err
|
||||
|
||||
|
||||
def line_info(obj, highlight=True):
|
||||
|
Reference in New Issue
Block a user