From cde414e1dfbf21d9b2ee7f445386ccdc2ebce419 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Wed, 12 Feb 2020 03:59:59 -0800 Subject: [PATCH] Use set for dependency lookup in hassfest (#31746) --- script/hassfest/dependencies.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/hassfest/dependencies.py b/script/hassfest/dependencies.py index 52c8bfecf95..a600eea141d 100644 --- a/script/hassfest/dependencies.py +++ b/script/hassfest/dependencies.py @@ -110,7 +110,7 @@ ALLOWED_USED_COMPONENTS = { "stream", # Stream cannot install on all systems, can be imported without reqs. } -IGNORE_VIOLATIONS = [ +IGNORE_VIOLATIONS = { # Has same requirement, gets defaults. ("sql", "recorder"), # Sharing a base class @@ -136,7 +136,7 @@ IGNORE_VIOLATIONS = [ "dwd_weather_warnings", # Should be rewritten to use own data fetcher "scrape", -] +} def calc_allowed_references(integration: Integration) -> Set[str]: