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:
@@ -0,0 +1,27 @@
|
||||
[project]
|
||||
name = "aeris-10-radar"
|
||||
version = "1.0.0"
|
||||
description = "AERIS-10 FMCW Radar Platform — host software & FPGA cosim tools"
|
||||
requires-python = ">=3.12"
|
||||
|
||||
# Runtime dependencies intentionally empty — GUI deps are optional and
|
||||
# listed in requirements_*.txt files for local installs.
|
||||
dependencies = []
|
||||
|
||||
[dependency-groups]
|
||||
dev = [
|
||||
"ruff>=0.5",
|
||||
"pytest>=8",
|
||||
"numpy>=1.26",
|
||||
"h5py>=3.10",
|
||||
]
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Ruff configuration
|
||||
# ---------------------------------------------------------------------------
|
||||
[tool.ruff]
|
||||
target-version = "py312"
|
||||
line-length = 100
|
||||
|
||||
[tool.ruff.lint]
|
||||
select = ["E", "F"]
|
||||
Reference in New Issue
Block a user