added ruff test
This commit is contained in:
@@ -21,7 +21,6 @@ from __future__ import annotations
|
||||
|
||||
import argparse
|
||||
import json
|
||||
import os
|
||||
import platform
|
||||
import sys
|
||||
import time
|
||||
@@ -43,10 +42,6 @@ def _bootstrap_paths() -> None:
|
||||
|
||||
def collect(profile: str, *, keep_open_s: float) -> dict:
|
||||
"""Create a real window, let Qt initialise it, and report what it got."""
|
||||
from PySide6.QtCore import QTimer
|
||||
from PySide6.QtOpenGLWidgets import QOpenGLWidget
|
||||
from PySide6.QtWidgets import QApplication
|
||||
|
||||
from orisys_studio.scene3d.gl_backend import (
|
||||
GLDispatch,
|
||||
GLRenderer,
|
||||
@@ -54,6 +49,9 @@ def collect(profile: str, *, keep_open_s: float) -> dict:
|
||||
configure_surface_format,
|
||||
lut_rgba,
|
||||
)
|
||||
from PySide6.QtCore import QTimer
|
||||
from PySide6.QtOpenGLWidgets import QOpenGLWidget
|
||||
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