mirror of
https://github.com/esphome/esphome.git
synced 2024-11-21 11:37:27 +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
1
.gitignore
vendored
1
.gitignore
vendored
@ -75,6 +75,7 @@ venv.bak/
|
||||
|
||||
.pioenvs
|
||||
.piolibdeps
|
||||
.pio
|
||||
.vscode
|
||||
CMakeListsPrivate.txt
|
||||
CMakeLists.txt
|
||||
|
@ -21,8 +21,8 @@ def ensure_multiple_invalid(err):
|
||||
# pylint: disable=protected-access, unidiomatic-typecheck
|
||||
class _Schema(vol.Schema):
|
||||
"""Custom cv.Schema that prints similar keys on error."""
|
||||
def __init__(self, schema, extra=vol.PREVENT_EXTRA, extra_schemas=None):
|
||||
super(_Schema, self).__init__(schema, extra=extra)
|
||||
def __init__(self, schema, required=False, extra=vol.PREVENT_EXTRA, extra_schemas=None):
|
||||
super(_Schema, self).__init__(schema, required=required, extra=extra)
|
||||
# List of extra schemas to apply after validation
|
||||
# Should be used sparingly, as it's not a very voluptuous-way/clean way of
|
||||
# doing things.
|
||||
|
@ -4,7 +4,7 @@
|
||||
; It's *not* used during runtime.
|
||||
|
||||
[platformio]
|
||||
env_default = livingroom8266
|
||||
default_envs = livingroom8266
|
||||
src_dir = .
|
||||
include_dir = include
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- .piolibdeps/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 2019-06-25 11:14:33.000000000 +0200
|
||||
+++ .pio/libdeps/livingroom8266/NeoPixelBus_ID547/src/internal/NeoEsp8266DmaMethod.h.2 2019-06-25 11:14:40.000000000 +0200
|
||||
@@ -195,7 +195,12 @@
|
||||
_i2sBufDesc[indexDesc].sub_sof = 0;
|
||||
_i2sBufDesc[indexDesc].datalen = blockSize;
|
||||
|
Loading…
Reference in New Issue
Block a user