Activate mypy in sabnzbd (#54539)

This commit is contained in:
jan iversen 2021-08-16 22:55:52 +02:00 committed by GitHub
parent 236ccb933c
commit b72ed68d61
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 5 deletions

View file

@ -1,4 +1,6 @@
"""Support for monitoring an SABnzbd NZB client."""
from __future__ import annotations
from datetime import timedelta
import logging
@ -31,7 +33,7 @@ _LOGGER = logging.getLogger(__name__)
DOMAIN = "sabnzbd"
DATA_SABNZBD = "sabznbd"
_CONFIGURING = {}
_CONFIGURING: dict[str, str] = {}
ATTR_SPEED = "speed"
BASE_URL_FORMAT = "{}://{}:{}/"

View file

@ -1598,9 +1598,6 @@ ignore_errors = true
[mypy-homeassistant.components.ruckus_unleashed.*]
ignore_errors = true
[mypy-homeassistant.components.sabnzbd.*]
ignore_errors = true
[mypy-homeassistant.components.screenlogic.*]
ignore_errors = true

View file

@ -125,7 +125,6 @@ IGNORED_MODULES: Final[list[str]] = [
"homeassistant.components.ring.*",
"homeassistant.components.rpi_power.*",
"homeassistant.components.ruckus_unleashed.*",
"homeassistant.components.sabnzbd.*",
"homeassistant.components.screenlogic.*",
"homeassistant.components.search.*",
"homeassistant.components.sense.*",