added ruff test

This commit is contained in:
ykcheungab
2026-09-27 19:20:43 +08:00
parent bcab2790bf
commit fa2703968e
178 changed files with 3277 additions and 1034 deletions
+2 -3
View File
@@ -8,8 +8,6 @@ both can be stood in for — which is the point of the split, and what these tes
from __future__ import annotations
import pytest
from orisys_studio.view_layout import ViewLayoutController
VIEW_PRESETS = ("custom", "live", "replay", "calibration")
@@ -295,7 +293,8 @@ def test_a_preset_that_gives_no_width_to_the_3d_pane_takes_it_from_the_widest():
def test_the_shipped_live_layout_makes_the_3d_pane_the_widest_panel():
"""The 3D view is the subject when it is on, not an inset beside the charts."""
from orisys_studio.app_window import DEFAULT_SPLITTER_SIZES, VIEW_SPLITTER_SIZES as LIVE
from orisys_studio.app_window import DEFAULT_SPLITTER_SIZES
from orisys_studio.app_window import VIEW_SPLITTER_SIZES as LIVE
mesh, image, charts = DEFAULT_SPLITTER_SIZES
assert mesh > image, DEFAULT_SPLITTER_SIZES