Upgrade pydocstyle to 5.0.1 (#29830)
* Upgrade pydocstyle to 5.0.1 http://www.pydocstyle.org/en/5.0.1/release_notes.html * Pydocstyle and other docstring fixes
This commit is contained in:
1 parent
3ed1738f76
commit
a12cf7211d
24 files changed
+33
-33
No files matched your search
@@ -17,13 +17,13 @@ class Device:
|
||||
"""Hass representation of an UPnP/IGD."""
|
||||
|
||||
def __init__(self, igd_device):
|
||||
"""Initializer."""
|
||||
"""Initialize UPnP/IGD device."""
|
||||
self._igd_device = igd_device
|
||||
self._mapped_ports = []
|
||||
|
||||
@classmethod
|
||||
async def async_discover(cls, hass: HomeAssistantType):
|
||||
"""Discovery UPNP/IGD devices."""
|
||||
"""Discover UPnP/IGD devices."""
|
||||
_LOGGER.debug("Discovering UPnP/IGD devices")
|
||||
local_ip = None
|
||||
if DOMAIN in hass.data and "config" in hass.data[DOMAIN]:
|
||||
|
||||
Reference in new issue
Block a user