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 -1
View File
@@ -21,7 +21,7 @@ from radar_protocol import (
HEADER_BYTE, FOOTER_BYTE, STATUS_HEADER_BYTE,
NUM_RANGE_BINS, NUM_DOPPLER_BINS, NUM_CELLS,
DATA_PACKET_SIZE,
_HARDWARE_ONLY_OPCODES, _REPLAY_ADJUSTABLE_OPCODES,
_HARDWARE_ONLY_OPCODES,
)