mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 00:37:53 +00:00
Update hassfest dependency check (#64638)
This commit is contained in:
parent
07e10c645b
commit
9f12612391
@ -41,6 +41,14 @@ class ImportCollector(ast.NodeVisitor):
|
||||
if node.module is None:
|
||||
return
|
||||
|
||||
# Exception: we will allow importing the sign path code.
|
||||
if (
|
||||
node.module == "homeassistant.components.http.auth"
|
||||
and len(node.names) == 1
|
||||
and node.names[0].name == "async_sign_path"
|
||||
):
|
||||
return
|
||||
|
||||
if node.module.startswith("homeassistant.components."):
|
||||
# from homeassistant.components.alexa.smart_home import EVENT_ALEXA_SMART_HOME
|
||||
# from homeassistant.components.logbook import bla
|
||||
@ -107,6 +115,7 @@ ALLOWED_USED_COMPONENTS = {
|
||||
"input_number",
|
||||
"input_select",
|
||||
"input_text",
|
||||
"media_source",
|
||||
"onboarding",
|
||||
"persistent_notification",
|
||||
"person",
|
||||
|
Loading…
x
Reference in New Issue
Block a user