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ä 2018-08-24 11:28:43 +03:00 committed by Paulus Schoutsen
parent 89d856d147
commit dd9d53c83e
84 changed files with 148 additions and 130 deletions

View file

@ -49,7 +49,7 @@ TRAITS = []
def register_trait(trait):
"""Decorator to register a trait."""
"""Decorate a function to register a trait."""
TRAITS.append(trait)
return trait