From a7ce9d774e0c4ece778284786dca0e21ec380daf Mon Sep 17 00:00:00 2001 From: adechant Date: Mon, 9 Oct 2023 11:48:49 -0600 Subject: [PATCH] formatting issues --- custom_components/ha_vscode/config_flow.py | 2 +- custom_components/ha_vscode/const.py | 2 +- custom_components/ha_vscode/manifest.json | 2 +- custom_components/ha_vscode/vscode_device.py | 5 +++-- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/custom_components/ha_vscode/config_flow.py b/custom_components/ha_vscode/config_flow.py index d303f16..aefbee7 100644 --- a/custom_components/ha_vscode/config_flow.py +++ b/custom_components/ha_vscode/config_flow.py @@ -1,8 +1,8 @@ """Adds config flow for VSCode HA Tunnel.""" import logging import os.path -import voluptuous as vol +import voluptuous as vol from awesomeversion import AwesomeVersion from homeassistant import config_entries from homeassistant.const import __version__ as HAVERSION diff --git a/custom_components/ha_vscode/const.py b/custom_components/ha_vscode/const.py index 9c863c4..236cccd 100644 --- a/custom_components/ha_vscode/const.py +++ b/custom_components/ha_vscode/const.py @@ -2,7 +2,7 @@ DOMAIN = "ha_vscode" PACKAGE_NAME = "custom_components.ha_vscode" DOMAIN_DATA = f"{DOMAIN}_data" -VERSION = "0.0.1" +VERSION = "0.1.100" MINIMUM_HA_VERSION = "2023.6.0" ICON = "mdi:format-quote-close" CONF_ENABLED = "enabled" diff --git a/custom_components/ha_vscode/manifest.json b/custom_components/ha_vscode/manifest.json index d89de24..be03f64 100644 --- a/custom_components/ha_vscode/manifest.json +++ b/custom_components/ha_vscode/manifest.json @@ -8,5 +8,5 @@ "iot_class": "local_polling", "issue_tracker": "https://github.com/adechant/ha_vscode/issues", "requirements": [], - "version": "0.1.24" + "version": "0.1.100" } diff --git a/custom_components/ha_vscode/vscode_device.py b/custom_components/ha_vscode/vscode_device.py index 9bf9502..791a2bc 100644 --- a/custom_components/ha_vscode/vscode_device.py +++ b/custom_components/ha_vscode/vscode_device.py @@ -6,11 +6,12 @@ import subprocess import time -from threading import Thread, Lock +from threading import Lock +from threading import Thread from .const import PACKAGE_NAME from .exceptions import HAVSCodeDownloadException -from .exceptions import HAVSCodeZipException from .exceptions import HAVSCodeTarException +from .exceptions import HAVSCodeZipException if not "PACKAGE_NAME" in globals(): PACKAGE_NAME = "ha_vscode"