From a3baadd49066ee7cfeba137888c4a1327785c6c7 Mon Sep 17 00:00:00 2001 From: atse Date: Mon, 9 Sep 2024 15:08:17 +0800 Subject: [PATCH] Reorder imports --- pytec/tec_qt.py | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/pytec/tec_qt.py b/pytec/tec_qt.py index fcabb7f..c9f0e81 100755 --- a/pytec/tec_qt.py +++ b/pytec/tec_qt.py @@ -1,3 +1,15 @@ +import json +import asyncio +import logging +import argparse +import importlib.resources +import qasync +from qasync import asyncSlot, asyncClose +from autotune import PIDAutotuneState +from PyQt6 import QtWidgets, QtGui, uic +from PyQt6.QtCore import pyqtSlot +from pytec.gui.model.thermostat import Thermostat, ThermostatConnectionState +from pytec.gui.model.pid_autotuner import PIDAutoTuner from pytec.gui.view.zero_limits_warning_view import ZeroLimitsWarningView from pytec.gui.view.thermostat_settings_menu import ThermostatSettingsMenu from pytec.gui.view.connection_details_menu import ConnectionDetailsMenu @@ -5,18 +17,6 @@ from pytec.gui.view.plot_options_menu import PlotOptionsMenu from pytec.gui.view.live_plot_view import LiveDataPlotter from pytec.gui.view.ctrl_panel import CtrlPanel from pytec.gui.view.info_box import InfoBox -from pytec.gui.model.pid_autotuner import PIDAutoTuner -from pytec.gui.model.thermostat import Thermostat, ThermostatConnectionState -import json -from autotune import PIDAutotuneState -from qasync import asyncSlot, asyncClose -import qasync -import asyncio -import logging -import argparse -from PyQt6 import QtWidgets, QtGui, uic -from PyQt6.QtCore import pyqtSlot -import importlib.resources def get_argparser():