mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-05-19 04:33:27 +02:00
add-black (#1593)
* Add black Update pre commit Update pre commit add empty line * Format with black
This commit is contained in:
committed by
GitHub
parent
2b60b0f1fa
commit
69879920eb
@@ -1,12 +1,12 @@
|
||||
import esphome.codegen as cg
|
||||
from esphome.core import coroutine_with_priority
|
||||
|
||||
CODEOWNERS = ['@OttoWinter']
|
||||
json_ns = cg.esphome_ns.namespace('json')
|
||||
CODEOWNERS = ["@OttoWinter"]
|
||||
json_ns = cg.esphome_ns.namespace("json")
|
||||
|
||||
|
||||
@coroutine_with_priority(1.0)
|
||||
def to_code(config):
|
||||
cg.add_library('ArduinoJson-esphomelib', '5.13.3')
|
||||
cg.add_define('USE_JSON')
|
||||
cg.add_library("ArduinoJson-esphomelib", "5.13.3")
|
||||
cg.add_define("USE_JSON")
|
||||
cg.add_global(json_ns.using)
|
||||
|
||||
Reference in New Issue
Block a user