bachya/simplisafe-python

View on GitHub
simplipy/system/v3.py

Summary

Maintainability
A
0 mins
Test Coverage

File v3.py has 525 lines of code (exceeds 250 allowed). Consider refactoring.
Wontfix

"""Define a V3 (new) SimpliSafe system."""

from __future__ import annotations

from datetime import datetime, timedelta
Severity: Major
Found in simplipy/system/v3.py - About 1 day to fix

SystemV3 has 21 functions (exceeds 20 allowed). Consider refactoring.
Wontfix

class SystemV3(System):  # pylint: disable=too-many-public-methods
    """Define a V3 (new) system.

    Note that this class shouldn't be instantiated directly; it will be instantiated as
    appropriate via :meth:`simplipy.API.async_get_systems`.
Severity: Minor
Found in simplipy/system/v3.py - About 2 hrs to fix

Error: invalid syntax (<unknown>, line 514)</unknown>
Invalid

            if (sensor_type := get_device_type_from_data(sensor)) == DeviceTypes.LOCK:
Severity: Minor
Found in simplipy/system/v3.py by radon

We encountered an error attempting to analyze this line.

There are no issues that match your filters.

Category
Status