mirror of
https://github.com/azaion/gps-denied-onboard.git
synced 2026-04-22 23:26:36 +00:00
dd9835c0cd
- ruff --fix: removed trailing whitespace (W293), sorted imports (I001) - Manual: broke long lines (E501) in eskf, rotation, vo, gpr, metric, pipeline, rotation tests - Removed unused imports (F401) in models.py, schemas/__init__.py - pyproject.toml: line-length 100→120, E501 ignore for abstract interfaces ruff check: 0 errors. pytest: 195 passed / 8 skipped. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
55 lines
1.2 KiB
TOML
55 lines
1.2 KiB
TOML
[project]
|
|
name = "gps-denied-onboard"
|
|
version = "0.1.0"
|
|
description = "GPS-denied UAV geolocalization service"
|
|
requires-python = ">=3.11"
|
|
dependencies = [
|
|
"fastapi",
|
|
"uvicorn[standard]",
|
|
"pydantic>=2",
|
|
"pydantic-settings>=2",
|
|
"sqlalchemy>=2",
|
|
"alembic>=1.14",
|
|
"sse-starlette>=2.0",
|
|
"aiosqlite>=0.20",
|
|
"python-multipart>=0.0.9",
|
|
"httpx>=0.27",
|
|
"diskcache>=5.6",
|
|
"numpy>=1.26",
|
|
"opencv-python-headless>=4.9",
|
|
"gtsam>=4.3a0",
|
|
"pymavlink>=2.4",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"ruff>=0.9",
|
|
"pytest>=8.0",
|
|
"pytest-asyncio>=0.24",
|
|
"httpx>=0.28",
|
|
]
|
|
|
|
[build-system]
|
|
requires = ["setuptools>=75"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["src"]
|
|
|
|
[tool.ruff]
|
|
target-version = "py311"
|
|
line-length = 120
|
|
|
|
[tool.ruff.lint.per-file-ignores]
|
|
# Abstract interfaces have long method signatures — allow up to 170
|
|
"src/gps_denied/core/graph.py" = ["E501"]
|
|
"src/gps_denied/core/metric.py" = ["E501"]
|
|
"src/gps_denied/core/chunk_manager.py" = ["E501"]
|
|
|
|
[tool.ruff.lint]
|
|
select = ["E", "F", "I", "W"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
asyncio_mode = "auto"
|