added ruff test
This commit is contained in:
@@ -115,10 +115,9 @@ def run(
|
||||
late_rate_limit_mb_per_min: float,
|
||||
) -> tuple[dict, int]:
|
||||
"""Produce frames through the real pipeline and watch what it costs over time."""
|
||||
import numpy as np
|
||||
|
||||
from concurrent.futures import ThreadPoolExecutor
|
||||
|
||||
import numpy as np
|
||||
from orisys_app_shared.scene3d import synthetic
|
||||
from orisys_app_shared.scene3d.composer import SceneComposer
|
||||
from orisys_app_shared.scene3d.contracts import (
|
||||
@@ -141,10 +140,9 @@ def run(
|
||||
view = None
|
||||
widget = None
|
||||
if use_gui:
|
||||
from PySide6.QtWidgets import QApplication
|
||||
|
||||
from orisys_studio.scene3d.gl_backend import configure_surface_format
|
||||
from orisys_studio.scene3d.view import Scene3DView
|
||||
from PySide6.QtWidgets import QApplication
|
||||
|
||||
configure_surface_format(profile) # type: ignore[arg-type]
|
||||
app = QApplication.instance() or QApplication(sys.argv)
|
||||
|
||||
Reference in New Issue
Block a user