Use set for dependency lookup in hassfest (#31746)
This commit is contained in:
parent
0700d38d1f
commit
cde414e1df
1 changed files with 2 additions and 2 deletions
|
@ -110,7 +110,7 @@ ALLOWED_USED_COMPONENTS = {
|
||||||
"stream", # Stream cannot install on all systems, can be imported without reqs.
|
"stream", # Stream cannot install on all systems, can be imported without reqs.
|
||||||
}
|
}
|
||||||
|
|
||||||
IGNORE_VIOLATIONS = [
|
IGNORE_VIOLATIONS = {
|
||||||
# Has same requirement, gets defaults.
|
# Has same requirement, gets defaults.
|
||||||
("sql", "recorder"),
|
("sql", "recorder"),
|
||||||
# Sharing a base class
|
# Sharing a base class
|
||||||
|
@ -136,7 +136,7 @@ IGNORE_VIOLATIONS = [
|
||||||
"dwd_weather_warnings",
|
"dwd_weather_warnings",
|
||||||
# Should be rewritten to use own data fetcher
|
# Should be rewritten to use own data fetcher
|
||||||
"scrape",
|
"scrape",
|
||||||
]
|
}
|
||||||
|
|
||||||
|
|
||||||
def calc_allowed_references(integration: Integration) -> Set[str]:
|
def calc_allowed_references(integration: Integration) -> Set[str]:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue