mirror of
https://github.com/esphome/esphome.git
synced 2024-11-27 09:18:00 +01:00
let execute code owners in venv without installing esphome
This commit is contained in:
parent
507d27e84a
commit
ef6e372732
1 changed files with 3 additions and 0 deletions
|
@ -3,6 +3,9 @@ import argparse
|
||||||
from collections import defaultdict
|
from collections import defaultdict
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
import sys
|
import sys
|
||||||
|
import os
|
||||||
|
|
||||||
|
sys.path.append(os.path.join(os.path.dirname(__file__), '..'))
|
||||||
|
|
||||||
from esphome.config import get_component, get_platform
|
from esphome.config import get_component, get_platform
|
||||||
from esphome.const import KEY_CORE, KEY_TARGET_FRAMEWORK
|
from esphome.const import KEY_CORE, KEY_TARGET_FRAMEWORK
|
||||||
|
|
Loading…
Reference in a new issue