mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
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:
committed by
Paulus Schoutsen
parent
89d856d147
commit
dd9d53c83e
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user