1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-30 06:33:51 +00:00

Upgrade dependencies

This commit is contained in:
Niklas Wagner
2020-05-24 01:33:58 +02:00
committed by Otto Winter
parent d44ce82aa1
commit 0b04d143ac
7 changed files with 30 additions and 25 deletions

View File

@@ -567,10 +567,12 @@ class EsphomeCore(object):
return os.path.basename(self.config_path)
def relative_config_path(self, *path):
# pylint: disable=no-value-for-parameter
path_ = os.path.expanduser(os.path.join(*path))
return os.path.join(self.config_dir, path_)
def relative_build_path(self, *path):
# pylint: disable=no-value-for-parameter
path_ = os.path.expanduser(os.path.join(*path))
return os.path.join(self.build_path, path_)

View File

@@ -45,6 +45,9 @@ def validate_board(value):
validate_platform = cv.one_of('ESP32', 'ESP8266', upper=True)
PLATFORMIO_ESP8266_LUT = {
'2.6.3': 'espressif8266@2.4.0',
'2.6.2': 'espressif8266@2.3.1',
'2.6.1': 'espressif8266@2.3.0',
'2.5.2': 'espressif8266@2.2.3',
'2.5.1': 'espressif8266@2.1.0',
'2.5.0': 'espressif8266@2.0.1',
@@ -62,8 +65,8 @@ PLATFORMIO_ESP32_LUT = {
'1.0.1': 'espressif32@1.6.0',
'1.0.2': 'espressif32@1.9.0',
'1.0.3': 'espressif32@1.10.0',
'1.0.4': 'espressif32@1.11.0',
'RECOMMENDED': 'espressif32@1.11.0',
'1.0.4': 'espressif32@1.12.1',
'RECOMMENDED': 'espressif32@1.12.1',
'LATEST': 'espressif32',
'DEV': ARDUINO_VERSION_ESP32_DEV,
}

View File

@@ -179,7 +179,7 @@ class _Schema(vol.Schema):
self._extra_schemas.append(validator)
return self
# pylint: disable=arguments-differ
# pylint: disable=signature-differs
def extend(self, *schemas, **kwargs):
extra = kwargs.pop('extra', None)
if kwargs: