mirror of
https://github.com/azaion/gps-denied-onboard.git
synced 2026-04-23 03:06:37 +00:00
style(e2e): ruff auto-fix import sorting in coord + vpair + tests
Four I001 violations surfaced when running ruff over the full src/ tests/ tree (the CI command) rather than just the testing subpath: - src/gps_denied/testing/coord.py - src/gps_denied/testing/datasets/vpair.py - tests/e2e/test_coord.py - tests/e2e/test_vpair_adapter.py All auto-fixable; no behavioural change. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -10,7 +10,6 @@ from __future__ import annotations
|
|||||||
|
|
||||||
import math
|
import math
|
||||||
|
|
||||||
|
|
||||||
# WGS84 constants
|
# WGS84 constants
|
||||||
_A = 6_378_137.0 # semi-major axis, metres
|
_A = 6_378_137.0 # semi-major axis, metres
|
||||||
_F = 1.0 / 298.257223563 # flattening
|
_F = 1.0 / 298.257223563 # flattening
|
||||||
|
|||||||
@@ -31,7 +31,6 @@ from gps_denied.testing.datasets.base import (
|
|||||||
PlatformClass,
|
PlatformClass,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
# Synthesised frame period. VPAIR paper quotes ~1 Hz query rate; we use 5 Hz
|
# Synthesised frame period. VPAIR paper quotes ~1 Hz query rate; we use 5 Hz
|
||||||
# (200 ms) to align with the product's nominal frame-processing budget from
|
# (200 ms) to align with the product's nominal frame-processing budget from
|
||||||
# the e2e design doc. Callers that need tighter pacing can subclass.
|
# the e2e design doc. Callers that need tighter pacing can subclass.
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ import pytest
|
|||||||
|
|
||||||
from gps_denied.testing.coord import ecef_to_wgs84, euler_to_quaternion
|
from gps_denied.testing.coord import ecef_to_wgs84, euler_to_quaternion
|
||||||
|
|
||||||
|
|
||||||
# --- ECEF → WGS84 ---
|
# --- ECEF → WGS84 ---
|
||||||
|
|
||||||
def test_ecef_origin_is_on_equator_prime_meridian():
|
def test_ecef_origin_is_on_equator_prime_meridian():
|
||||||
|
|||||||
@@ -16,7 +16,6 @@ from gps_denied.testing.datasets.base import (
|
|||||||
)
|
)
|
||||||
from gps_denied.testing.datasets.vpair import VPAIRAdapter
|
from gps_denied.testing.datasets.vpair import VPAIRAdapter
|
||||||
|
|
||||||
|
|
||||||
# ECEF for a point at roughly lat=50.737°, lon=7.095°, alt=350m (Bonn/Eifel region).
|
# ECEF for a point at roughly lat=50.737°, lon=7.095°, alt=350m (Bonn/Eifel region).
|
||||||
# Chosen to hit the real VPAIR geographic area so the adapter's conversion
|
# Chosen to hit the real VPAIR geographic area so the adapter's conversion
|
||||||
# produces plausible numbers the tests can assert on.
|
# produces plausible numbers the tests can assert on.
|
||||||
|
|||||||
Reference in New Issue
Block a user