fix: resolve ruff lint errors and add lint CI job

Remove unused imports (deque, sys, Opcode, struct, _REPLAY_ADJUSTABLE_OPCODES)
across 4 active Python files and refactor semicolons to separate statements
in radar_protocol.py. Add ruff lint job to CI workflow targeting only the
active files (excludes legacy GUI_V*.py and v7/).
This commit is contained in:
Jason
2026-04-08 17:28:22 +03:00
parent 9df73fe994
commit 6a117dd324
5 changed files with 45 additions and 12 deletions
+1 -2
View File
@@ -21,7 +21,6 @@ Usage:
python radar_dashboard.py --record # Launch with HDF5 recording
"""
import sys
import os
import time
import queue
@@ -45,7 +44,7 @@ from matplotlib.backends.backend_tkagg import FigureCanvasTkAgg
from radar_protocol import (
RadarProtocol, FT2232HConnection, ReplayConnection,
DataRecorder, RadarAcquisition,
RadarFrame, StatusResponse, Opcode,
RadarFrame, StatusResponse,
NUM_RANGE_BINS, NUM_DOPPLER_BINS, WATERFALL_DEPTH,
)