fix: full-repo ruff lint cleanup and CI migration to uv
Resolve all 374 ruff errors across 36 Python files (E501, E702, E722, E741, F821, F841, invalid-syntax) bringing `ruff check .` to zero errors repo-wide with line-length=100. Rewrite CI workflow to use uv for dependency management, whole-repo `ruff check .`, py_compile syntax gate, and merged python-tests job. Add pyproject.toml with ruff config and uv dependency groups. CI structure proposed by hcm444.
This commit is contained in:
@@ -755,7 +755,9 @@ class RadarDashboard(QMainWindow):
|
||||
self._det_thresh_spin.setValue(self._processing_config.detection_threshold_db)
|
||||
self._det_thresh_spin.setSuffix(" dB")
|
||||
self._det_thresh_spin.setSingleStep(1.0)
|
||||
self._det_thresh_spin.setToolTip("SNR threshold above noise floor (used when CFAR is disabled)")
|
||||
self._det_thresh_spin.setToolTip(
|
||||
"SNR threshold above noise floor (used when CFAR is disabled)"
|
||||
)
|
||||
p_layout.addWidget(self._det_thresh_spin, row, 1)
|
||||
row += 1
|
||||
|
||||
@@ -906,8 +908,11 @@ class RadarDashboard(QMainWindow):
|
||||
if idx2 >= 0 and idx2 < len(self._ft2232hq_devices):
|
||||
url = self._ft2232hq_devices[idx2]["url"]
|
||||
if not self._ft2232hq.open_device(url):
|
||||
QMessageBox.warning(self, "Warning",
|
||||
"Failed to open FT2232HQ device. Radar data may not be available.")
|
||||
QMessageBox.warning(
|
||||
self,
|
||||
"Warning",
|
||||
"Failed to open FT2232HQ device. Radar data may not be available.",
|
||||
)
|
||||
|
||||
# Send start flag + settings
|
||||
if not self._stm32.send_start_flag():
|
||||
|
||||
Reference in New Issue
Block a user