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:
Ville Skyttä authored and Paulus Schoutsen committed 2019-12-10 23:25:06 +01:00
1 parent 3ed1738f76
commit a12cf7211d
24 files changed
+33 -33

No files matched your search

+2 -2
View File
@@ -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]: