Enable mccabe complexity checks in flake8 (#49616)

Co-authored-by: Franck Nijhof <git@frenck.dev>
This commit is contained in:
J. Nick Koston
2021-04-25 00:38:40 -10:00
committed by GitHub
parent 9f8e683ae3
commit 3fa8ffa731
42 changed files with 51 additions and 40 deletions

View File

@@ -755,7 +755,7 @@ async def merge_packages_config(
return config
async def async_process_component_config(
async def async_process_component_config( # noqa: C901
hass: HomeAssistant, config: ConfigType, integration: Integration
) -> ConfigType | None:
"""Check component configuration and return processed configuration.