mirror of
https://github.com/esphome/esphome.git
synced 2024-11-24 16:08:10 +01:00
Support voluptuous 0.11.7 / fix cpp-lint
* Support voluptuous 0.11.7 ( Fixes esphome/issues#580 ) * Fix travis target Cpp-Lint for platformio 4
This commit is contained in:
parent
5c9755ecc1
commit
718c494013
4 changed files with 6 additions and 5 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -75,6 +75,7 @@ venv.bak/
|
||||||
|
|
||||||
.pioenvs
|
.pioenvs
|
||||||
.piolibdeps
|
.piolibdeps
|
||||||
|
.pio
|
||||||
.vscode
|
.vscode
|
||||||
CMakeListsPrivate.txt
|
CMakeListsPrivate.txt
|
||||||
CMakeLists.txt
|
CMakeLists.txt
|
||||||
|
|
|
@ -21,8 +21,8 @@ def ensure_multiple_invalid(err):
|
||||||
# pylint: disable=protected-access, unidiomatic-typecheck
|
# pylint: disable=protected-access, unidiomatic-typecheck
|
||||||
class _Schema(vol.Schema):
|
class _Schema(vol.Schema):
|
||||||
"""Custom cv.Schema that prints similar keys on error."""
|
"""Custom cv.Schema that prints similar keys on error."""
|
||||||
def __init__(self, schema, extra=vol.PREVENT_EXTRA, extra_schemas=None):
|
def __init__(self, schema, required=False, extra=vol.PREVENT_EXTRA, extra_schemas=None):
|
||||||
super(_Schema, self).__init__(schema, extra=extra)
|
super(_Schema, self).__init__(schema, required=required, extra=extra)
|
||||||
# List of extra schemas to apply after validation
|
# List of extra schemas to apply after validation
|
||||||
# Should be used sparingly, as it's not a very voluptuous-way/clean way of
|
# Should be used sparingly, as it's not a very voluptuous-way/clean way of
|
||||||
# doing things.
|
# doing things.
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
; It's *not* used during runtime.
|
; It's *not* used during runtime.
|
||||||
|
|
||||||
[platformio]
|
[platformio]
|
||||||
env_default = livingroom8266
|
default_envs = livingroom8266
|
||||||
src_dir = .
|
src_dir = .
|
||||||
include_dir = include
|
include_dir = include
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
--- .piolibdeps/NeoPixelBus_ID547/src/internal/NeoEsp8266DmaMethod.h 2019-06-25 11:14:33.000000000 +0200
|
--- .pio/libdeps/livingroom8266/NeoPixelBus_ID547/src/internal/NeoEsp8266DmaMethod.h 2019-06-25 11:14:33.000000000 +0200
|
||||||
+++ .piolibdeps/NeoPixelBus_ID547/src/internal/NeoEsp8266DmaMethod.h.2 2019-06-25 11:14:40.000000000 +0200
|
+++ .pio/libdeps/livingroom8266/NeoPixelBus_ID547/src/internal/NeoEsp8266DmaMethod.h.2 2019-06-25 11:14:40.000000000 +0200
|
||||||
@@ -195,7 +195,12 @@
|
@@ -195,7 +195,12 @@
|
||||||
_i2sBufDesc[indexDesc].sub_sof = 0;
|
_i2sBufDesc[indexDesc].sub_sof = 0;
|
||||||
_i2sBufDesc[indexDesc].datalen = blockSize;
|
_i2sBufDesc[indexDesc].datalen = blockSize;
|
||||||
|
|
Loading…
Reference in a new issue