Don't ignore diagnostics coverage (#86440)

pull/86460/head
epenet 2023-01-23 14:55:02 +01:00 committed by GitHub
parent f719ecf086
commit 74a76c6fe7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 27 additions and 0 deletions

View File

@ -10,6 +10,7 @@ DONT_IGNORE = (
"device_action.py",
"device_condition.py",
"device_trigger.py",
"diagnostics.py",
"group.py",
"intent.py",
"logbook.py",
@ -20,23 +21,49 @@ DONT_IGNORE = (
# They were violating when we introduced this check
# Need to be fixed in a future PR.
ALLOWED_IGNORE_VIOLATIONS = {
("advantage_air", "diagnostics.py"),
("androidtv", "diagnostics.py"),
("asuswrt", "diagnostics.py"),
("aussie_broadband", "diagnostics.py"),
("doorbird", "logbook.py"),
("ecowitt", "diagnostics.py"),
("elkm1", "scene.py"),
("fibaro", "scene.py"),
("hunterdouglas_powerview", "diagnostics.py"),
("hunterdouglas_powerview", "scene.py"),
("jellyfin", "media_source.py"),
("launch_library", "diagnostics.py"),
("lcn", "scene.py"),
("lifx_cloud", "scene.py"),
("lutron", "scene.py"),
("lutron_caseta", "scene.py"),
("nanoleaf", "diagnostics.py"),
("nanoleaf", "device_trigger.py"),
("nut", "diagnostics.py"),
("open_meteo", "diagnostics.py"),
("overkiz", "diagnostics.py"),
("overkiz", "scene.py"),
("philips_js", "diagnostics.py"),
("radio_browser", "media_source.py"),
("rfxtrx", "diagnostics.py"),
("screenlogic", "diagnostics.py"),
("sonos", "diagnostics.py"),
("stookalert", "diagnostics.py"),
("stookwijzer", "diagnostics.py"),
("stream", "diagnostics.py"),
("synology_dsm", "diagnostics.py"),
("system_bridge", "media_source.py"),
("tractive", "diagnostics.py"),
("tuya", "diagnostics.py"),
("tuya", "scene.py"),
("upb", "scene.py"),
("velbus", "diagnostics.py"),
("velux", "scene.py"),
("verisure", "diagnostics.py"),
("vicare", "diagnostics.py"),
("xbox", "media_source.py"),
("xiaomi_miio", "diagnostics.py"),
("yale_smart_alarm", "diagnostics.py"),
}