Showing 2 of 3 total issues

File power_board.py has 261 lines of code (exceeds 250 allowed). Consider refactoring.
Open

"""Hardware Backend for the SR V4 power board."""
import threading
from datetime import timedelta
from time import sleep
from typing import Dict, Set, cast
Severity: Minor
Found in j5/backends/hardware/sr/v4/serial/power_board.py - About 2 hrs to fix

File gpio_pin.py has 252 lines of code (exceeds 250 allowed). Consider refactoring.
Open

"""Classes for GPIO Pins."""

from abc import abstractmethod
from enum import IntEnum
from typing import Set, Type, Union
Severity: Minor
Found in j5/components/gpio_pin.py - About 2 hrs to fix
Severity
Category
Status
Source
Language