1
0
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:
dependabot[bot]
2020-09-16 12:12:40 +02:00
committed by GitHub
parent a401c71d3e
commit e7bd93b4b0
17 changed files with 53 additions and 37 deletions

View File

@@ -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):