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
@@ -55,7 +55,7 @@ class WithingsAttribute:
unit_of_measurement: str,
icon: str,
) -> None:
"""Constructor."""
"""Initialize attribute."""
self.measurement = measurement
self.measure_type = measure_type
self.friendly_name = friendly_name
@@ -73,7 +73,7 @@ class WithingsSleepStateAttribute(WithingsAttribute):
def __init__(
self, measurement: str, friendly_name: str, unit_of_measurement: str, icon: str
) -> None:
"""Constructor."""
"""Initialize sleep state attribute."""
super().__init__(measurement, None, friendly_name, unit_of_measurement, icon)