Enable mccabe complexity checks in flake8 (#49616)
Co-authored-by: Franck Nijhof <git@frenck.dev>
This commit is contained in:
parent
9f8e683ae3
commit
3fa8ffa731
42 changed files with 51 additions and 40 deletions
|
@ -157,7 +157,7 @@ class DataUpdateCoordinator(Generic[T]):
|
|||
"""Refresh data and log errors."""
|
||||
await self._async_refresh(log_failures=True)
|
||||
|
||||
async def _async_refresh(
|
||||
async def _async_refresh( # noqa: C901
|
||||
self,
|
||||
log_failures: bool = True,
|
||||
raise_on_auth_failed: bool = False,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue