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:
parent
3ed1738f76
commit
a12cf7211d
24 changed files with 33 additions and 33 deletions
|
@ -51,7 +51,7 @@ class ThrottleData:
|
|||
"""Throttle data."""
|
||||
|
||||
def __init__(self, interval: int, data: Any):
|
||||
"""Constructor."""
|
||||
"""Initialize throttle data."""
|
||||
self._time = int(time.time())
|
||||
self._interval = interval
|
||||
self._data = data
|
||||
|
@ -126,7 +126,7 @@ class WithingsDataManager:
|
|||
service_available = None
|
||||
|
||||
def __init__(self, hass: HomeAssistant, profile: str, api: ConfigEntryWithingsApi):
|
||||
"""Constructor."""
|
||||
"""Initialize data manager."""
|
||||
self._hass = hass
|
||||
self._api = api
|
||||
self._profile = profile
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue