mirror of
https://github.com/azaion/gps-denied-onboard.git
synced 2026-04-23 03:46:37 +00:00
fix(lint): ruff --fix import ordering in new test files
CI lint job flagged I001 (un-sorted imports) in: - tests/test_gps_input_encoding.py (top-level) - tests/test_vo.py (2 inline imports in new mono_depth tests) Applied ruff --fix: stdlib / third-party / first-party blocks with correct blank-line separators. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -21,7 +21,6 @@ from gps_denied.core.mavlink import _confidence_to_fix_type, _eskf_to_gps_input
|
||||
from gps_denied.schemas import GPSPoint
|
||||
from gps_denied.schemas.eskf import ConfidenceTier, ESKFState
|
||||
|
||||
|
||||
_ORIGIN = GPSPoint(lat=49.0, lon=32.0)
|
||||
|
||||
|
||||
|
||||
@@ -255,6 +255,7 @@ def test_mono_depth_scale_not_ambiguous():
|
||||
def test_mono_depth_depth_hint_scales_translation():
|
||||
"""depth_hint_m scales translation in dev/CI ORB fallback by depth_hint_m / 600.0."""
|
||||
from unittest.mock import patch
|
||||
|
||||
from gps_denied.core.vo import CuVSLAMMonoDepthVisualOdometry, ORBVisualOdometry
|
||||
from gps_denied.schemas.vo import RelativePose
|
||||
|
||||
@@ -318,6 +319,7 @@ def test_mono_depth_update_depth_hint_clamps_below_one():
|
||||
def test_mono_depth_update_depth_hint_affects_subsequent_scale():
|
||||
"""update_depth_hint changes scale used by next compute_relative_pose call."""
|
||||
from unittest.mock import patch
|
||||
|
||||
from gps_denied.core.vo import CuVSLAMMonoDepthVisualOdometry, ORBVisualOdometry
|
||||
from gps_denied.schemas.vo import RelativePose
|
||||
|
||||
|
||||
Reference in New Issue
Block a user