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
@@ -47,7 +47,7 @@ class MockResp(MagicMock):
|
||||
|
||||
@pytest.fixture
|
||||
def mock_msearch_first(*args, **kwargs):
|
||||
"""Wrapper to async mock function."""
|
||||
"""Wrap async mock msearch_first."""
|
||||
async def async_mock_msearch_first(*args, **kwargs):
|
||||
"""Mock msearch_first."""
|
||||
return MockResp(*args, **kwargs)
|
||||
@@ -58,7 +58,7 @@ def mock_msearch_first(*args, **kwargs):
|
||||
|
||||
@pytest.fixture
|
||||
def mock_async_exception(*args, **kwargs):
|
||||
"""Wrapper to async mock function with exception."""
|
||||
"""Wrap async mock exception."""
|
||||
async def async_mock_exception(*args, **kwargs):
|
||||
return Exception
|
||||
|
||||
|
||||
Reference in new issue
Block a user