Enforce strict typing for ReCollect Waste (#53356)

This commit is contained in:
Aaron Bach 2021-07-28 00:51:40 -06:00 committed by GitHub
parent 9c33818392
commit 514d97f144
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 15 additions and 7 deletions

View file

@ -75,6 +75,7 @@ homeassistant.components.persistent_notification.*
homeassistant.components.pi_hole.* homeassistant.components.pi_hole.*
homeassistant.components.proximity.* homeassistant.components.proximity.*
homeassistant.components.rainmachine.* homeassistant.components.rainmachine.*
homeassistant.components.recollect_waste.*
homeassistant.components.recorder.purge homeassistant.components.recorder.purge
homeassistant.components.recorder.repack homeassistant.components.recorder.repack
homeassistant.components.recorder.statistics homeassistant.components.recorder.statistics

View file

@ -3,7 +3,7 @@
"name": "ReCollect Waste", "name": "ReCollect Waste",
"config_flow": true, "config_flow": true,
"documentation": "https://www.home-assistant.io/integrations/recollect_waste", "documentation": "https://www.home-assistant.io/integrations/recollect_waste",
"requirements": ["aiorecollect==1.0.5"], "requirements": ["aiorecollect==1.0.7"],
"codeowners": ["@bachya"], "codeowners": ["@bachya"],
"iot_class": "cloud_polling" "iot_class": "cloud_polling"
} }

View file

@ -836,6 +836,17 @@ no_implicit_optional = true
warn_return_any = true warn_return_any = true
warn_unreachable = true warn_unreachable = true
[mypy-homeassistant.components.recollect_waste.*]
check_untyped_defs = true
disallow_incomplete_defs = true
disallow_subclassing_any = true
disallow_untyped_calls = true
disallow_untyped_decorators = true
disallow_untyped_defs = true
no_implicit_optional = true
warn_return_any = true
warn_unreachable = true
[mypy-homeassistant.components.recorder.purge] [mypy-homeassistant.components.recorder.purge]
check_untyped_defs = true check_untyped_defs = true
disallow_incomplete_defs = true disallow_incomplete_defs = true
@ -1576,9 +1587,6 @@ ignore_errors = true
[mypy-homeassistant.components.rachio.*] [mypy-homeassistant.components.rachio.*]
ignore_errors = true ignore_errors = true
[mypy-homeassistant.components.recollect_waste.*]
ignore_errors = true
[mypy-homeassistant.components.reddit.*] [mypy-homeassistant.components.reddit.*]
ignore_errors = true ignore_errors = true

View file

@ -236,7 +236,7 @@ aiopvpc==2.2.0
aiopylgtv==0.4.0 aiopylgtv==0.4.0
# homeassistant.components.recollect_waste # homeassistant.components.recollect_waste
aiorecollect==1.0.5 aiorecollect==1.0.7
# homeassistant.components.shelly # homeassistant.components.shelly
aioshelly==0.6.4 aioshelly==0.6.4

View file

@ -158,7 +158,7 @@ aiopvpc==2.2.0
aiopylgtv==0.4.0 aiopylgtv==0.4.0
# homeassistant.components.recollect_waste # homeassistant.components.recollect_waste
aiorecollect==1.0.5 aiorecollect==1.0.7
# homeassistant.components.shelly # homeassistant.components.shelly
aioshelly==0.6.4 aioshelly==0.6.4

View file

@ -136,7 +136,6 @@ IGNORED_MODULES: Final[list[str]] = [
"homeassistant.components.profiler.*", "homeassistant.components.profiler.*",
"homeassistant.components.proxmoxve.*", "homeassistant.components.proxmoxve.*",
"homeassistant.components.rachio.*", "homeassistant.components.rachio.*",
"homeassistant.components.recollect_waste.*",
"homeassistant.components.reddit.*", "homeassistant.components.reddit.*",
"homeassistant.components.ring.*", "homeassistant.components.ring.*",
"homeassistant.components.rpi_power.*", "homeassistant.components.rpi_power.*",