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:
1 parent
89d856d147
commit
dd9d53c83e
84 files changed
+148
-130
No files matched your search
@@ -20,7 +20,7 @@ EMPTY_CONFIG = []
|
||||
|
||||
async def async_setup_auth(hass, aiohttp_client, provider_configs=BASE_CONFIG,
|
||||
module_configs=EMPTY_CONFIG, setup_api=False):
|
||||
"""Helper to set up authentication and create an HTTP client."""
|
||||
"""Set up authentication and create an HTTP client."""
|
||||
hass.auth = await auth.auth_manager_from_config(
|
||||
hass, provider_configs, module_configs)
|
||||
ensure_auth_manager_loaded(hass.auth)
|
||||
|
||||
@@ -5,7 +5,7 @@ from tests.common import CLIENT_ID, CLIENT_REDIRECT_URI
|
||||
|
||||
|
||||
async def async_get_code(hass, aiohttp_client):
|
||||
"""Helper for link user tests that returns authorization code."""
|
||||
"""Return authorization code for link user tests."""
|
||||
config = [{
|
||||
'name': 'Example',
|
||||
'type': 'insecure_example',
|
||||
|
||||
Reference in new issue
Block a user