mirror of
https://github.com/esphome/esphome.git
synced 2025-07-03 05:33:17 +01:00
[code-quality] Organise script imports (#7198)
This commit is contained in:
@ -1,11 +1,10 @@
|
||||
#!/usr/bin/env python3
|
||||
import argparse
|
||||
from pathlib import Path
|
||||
import sys
|
||||
import argparse
|
||||
|
||||
from helpers import git_ls_files, changed_files
|
||||
from esphome.loader import get_component, get_platform
|
||||
from esphome.core import CORE
|
||||
from helpers import changed_files, git_ls_files
|
||||
|
||||
from esphome.const import (
|
||||
KEY_CORE,
|
||||
KEY_TARGET_FRAMEWORK,
|
||||
@ -13,6 +12,8 @@ from esphome.const import (
|
||||
PLATFORM_ESP32,
|
||||
PLATFORM_ESP8266,
|
||||
)
|
||||
from esphome.core import CORE
|
||||
from esphome.loader import get_component, get_platform
|
||||
|
||||
|
||||
def filter_component_files(str):
|
||||
|
Reference in New Issue
Block a user