Update pydocstyle to 2.1.1 and flake8-docstrings to 1.3.0 (#14557)

* Update pydocstyle to 2.1.1 and flake8-docstrings to 1.3.0

* Pydocstyle D401 fixes
This commit is contained in:
Ville Skyttä authored and Paulus Schoutsen committed 2018-08-24 10:28:43 +02:00
1 parent 89d856d147
commit dd9d53c83e
84 files changed
+148 -130

No files matched your search

+2 -2
View File
@@ -52,7 +52,7 @@ class EntityComponent:
in self._platforms.values())
def get_entity(self, entity_id):
"""Helper method to get an entity."""
"""Get an entity."""
for platform in self._platforms.values():
entity = platform.entities.get(entity_id)
if entity is not None:
@@ -243,7 +243,7 @@ class EntityComponent:
def _async_init_entity_platform(self, platform_type, platform,
scan_interval=None, entity_namespace=None):
"""Helper to initialize an entity platform."""
"""Initialize an entity platform."""
if scan_interval is None:
scan_interval = self.scan_interval