Files
gps-denied-onboard/src/gps_denied/core/mavlink.py
T
Yuzviak bf5b0e3ae2 fix(lint): resolve all ruff E402/I001/F821 errors
- Move pytestmark after all imports in 35 test files (E402: not-at-top)
- Add TYPE_CHECKING guard for FlightProcessor in composition.py (F821)
- Sort import blocks in src/ and tests/ (I001 auto-fix via ruff --fix)
- ruff check src/ tests/ now exits 0 with no errors

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-11 19:13:42 +03:00

30 lines
888 B
Python

"""Legacy import path. Phase 1 shim — code lives in components/mavlink_io/.
CRITICAL: tests/test_mavlink.py and tests/test_gps_input_encoding.py import
private helpers from this path. Per PATTERNS.md §6.2, the underscore names
MUST be re-exported here verbatim or 12+ tests break.
"""
from gps_denied.components.mavlink_io.mock_mavlink import ( # noqa: F401
MockMAVConnection,
)
from gps_denied.components.mavlink_io.protocol import ( # noqa: F401
MAVLinkBridgeProtocol,
)
from gps_denied.components.mavlink_io.pymavlink_bridge import ( # noqa: F401
_PYMAVLINK_AVAILABLE,
MAVLinkBridge,
_confidence_to_fix_type,
_eskf_to_gps_input,
_unix_to_gps_time,
)
__all__ = [
"MAVLinkBridgeProtocol",
"MAVLinkBridge",
"MockMAVConnection",
"_PYMAVLINK_AVAILABLE",
"_unix_to_gps_time",
"_confidence_to_fix_type",
"_eskf_to_gps_input",
]