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

+11 -5
View File
@@ -108,7 +108,7 @@ class FinTsClient:
"""
def __init__(self, credentials: BankCredentials, name: str):
"""Constructor for class FinTsClient."""
"""Initialize a FinTsClient."""
self._credentials = credentials
self.name = name
@@ -158,7 +158,7 @@ class FinTsAccount(Entity):
"""
def __init__(self, client: FinTsClient, account, name: str) -> None:
"""Constructor for class FinTsAccount."""
"""Initialize a FinTs balance account."""
self._client = client # type: FinTsClient
self._account = account
self._name = name # type: str
@@ -167,7 +167,10 @@ class FinTsAccount(Entity):
@property
def should_poll(self) -> bool:
"""Data needs to be polled from the bank servers."""
"""Return True.
Data needs to be polled from the bank servers.
"""
return True
def update(self) -> None:
@@ -218,7 +221,7 @@ class FinTsHoldingsAccount(Entity):
"""
def __init__(self, client: FinTsClient, account, name: str) -> None:
"""Constructor for class FinTsHoldingsAccount."""
"""Initialize a FinTs holdings account."""
self._client = client # type: FinTsClient
self._name = name # type: str
self._account = account
@@ -227,7 +230,10 @@ class FinTsHoldingsAccount(Entity):
@property
def should_poll(self) -> bool:
"""Data needs to be polled from the bank servers."""
"""Return True.
Data needs to be polled from the bank servers.
"""
return True
def update(self) -> None: