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

@ -156,7 +156,7 @@ def core_requirements():
def comment_requirement(req):
"""Some requirements don't install on all systems."""
"""Comment out requirement. Some don't install on all systems."""
return any(ign in req for ign in COMMENT_REQUIREMENTS)
@ -295,7 +295,7 @@ def validate_constraints_file(data):
def main(validate):
"""Main section of the script."""
"""Run the script."""
if not os.path.isfile('requirements_all.txt'):
print('Run this from HA root dir')
return 1