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ä 2019-12-11 00:25:06 +02:00 committed by Paulus Schoutsen
parent 3ed1738f76
commit a12cf7211d
24 changed files with 33 additions and 33 deletions

View file

@ -44,7 +44,7 @@ class StarlineSensor(StarlineEntity, BinarySensorDevice):
name: str,
device_class: str,
):
"""Constructor."""
"""Initialize sensor."""
super().__init__(account, device, key, name)
self._device_class = device_class