Silence Flake8

This commit is contained in:
David Sangrey committed 2026-05-30 12:24:11 -04:00
1 parent 8548ce3f60
commit 10dbee2bb8
1 file changed
+2 -2
+2 -2
View File
@@ -352,7 +352,7 @@ def shipyard_url(loadout: Mapping[str, Any], is_beta: bool) -> bool | str:
# Coriolis CMDR – real-time data sync via journal events
# ---------------------------------------------------------------------------
def _build_loadout(state: dict[str, Any]) -> dict[str, Any] | None:
def _build_loadout(state: dict[str, Any]) -> dict[str, Any] | None: # noqa: CCR001
"""
Build a loadout dict from EDMC state, similar to Inara's make_loadout.
@@ -480,7 +480,7 @@ def _send_to_cmdr_api(cmdr: str, api_key: str, payload: dict[str, Any]) -> None:
threading.Thread(target=_do_send, name='CoriolisCMDR sender', daemon=True).start()
def _build_loadout_from_capi(ship: dict[str, Any]) -> dict[str, Any] | None:
def _build_loadout_from_capi(ship: dict[str, Any]) -> dict[str, Any] | None: # noqa: CCR001
"""
Build a loadout dict from CAPI data['ship'].