Activate mypy in sabnzbd (#54539)
This commit is contained in:
parent
236ccb933c
commit
b72ed68d61
3 changed files with 3 additions and 5 deletions
|
@ -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 = "{}://{}:{}/"
|
||||
|
|
3
mypy.ini
3
mypy.ini
|
@ -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
|
||||
|
||||
|
|
|
@ -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.*",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue