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

+1 -1
View File
@@ -117,7 +117,7 @@ class JsonValidator(object):
"""Helper to compare JSON."""
def __init__(self, jsondata):
"""Constructor."""
"""Initialize JSON validator."""
self.jsondata = jsondata
def __eq__(self, other):
+1 -1
View File
@@ -15,7 +15,7 @@ class MockDevice(Device):
"""Mock device for Device."""
def __init__(self, udn):
"""Initializer."""
"""Initialize mock device."""
device = MagicMock()
device.manufacturer = "mock-manuf"
device.name = "mock-name"
+1 -1
View File
@@ -16,7 +16,7 @@ class ComponentFactory:
"""Factory class."""
def __init__(self, init_controller_mock):
"""Constructor."""
"""Initialize component factory."""
self.init_controller_mock = init_controller_mock
async def configure_component(