mirror of
https://github.com/home-assistant/core.git
synced 2025-08-01 03:35:09 +02:00
Enable mccabe complexity checks in flake8 (#49616)
Co-authored-by: Franck Nijhof <git@frenck.dev>
This commit is contained in:
@@ -365,7 +365,7 @@ class SystemMonitorSensor(SensorEntity):
|
||||
)
|
||||
|
||||
|
||||
def _update(
|
||||
def _update( # noqa: C901
|
||||
type_: str, data: SensorData
|
||||
) -> tuple[str | None, str | None, datetime.datetime | None]:
|
||||
"""Get the latest system information."""
|
||||
|
Reference in New Issue
Block a user