From 8d77bad0060f039c1b1b8af77ae33bf0f3fb5eb8 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sun, 18 Aug 2024 17:13:18 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/AutoSplit.py | 2 +- src/menu_bar.py | 2 +- src/user_profile.py | 2 +- src/utils.py | 1 - 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/AutoSplit.py b/src/AutoSplit.py index a1d45ec8..a2f5f0e8 100644 --- a/src/AutoSplit.py +++ b/src/AutoSplit.py @@ -33,6 +33,7 @@ import cv2 from cv2.typing import MatLike +from gen import about, design, settings, update_checker from psutil import process_iter from PySide6 import QtCore, QtGui from PySide6.QtTest import QTest @@ -44,7 +45,6 @@ from AutoControlledThread import AutoControlledThread from AutoSplitImage import START_KEYWORD, AutoSplitImage, ImageType from capture_method import CaptureMethodBase, CaptureMethodEnum -from gen import about, design, settings, update_checker from hotkeys import ( HOTKEYS, KEYBOARD_GROUPS_ISSUE, diff --git a/src/menu_bar.py b/src/menu_bar.py index 9c29f9ba..f31eb1e1 100644 --- a/src/menu_bar.py +++ b/src/menu_bar.py @@ -6,6 +6,7 @@ from urllib.error import URLError from urllib.request import urlopen +from gen import about, design, settings as settings_ui, update_checker from packaging.version import parse as version_parse from PySide6 import QtCore, QtWidgets from PySide6.QtCore import Qt @@ -22,7 +23,6 @@ change_capture_method, get_all_video_capture_devices, ) -from gen import about, design, settings as settings_ui, update_checker from hotkeys import HOTKEYS, HOTKEYS_WHEN_AUTOCONTROLLED, set_hotkey from utils import AUTOSPLIT_VERSION, GITHUB_REPOSITORY, ONE_SECOND, decimal, fire_and_forget diff --git a/src/user_profile.py b/src/user_profile.py index 62d070d9..8b5dfeb1 100644 --- a/src/user_profile.py +++ b/src/user_profile.py @@ -3,12 +3,12 @@ from typing import TYPE_CHECKING, TypedDict, cast import toml +from gen import design from PySide6 import QtCore, QtWidgets from typing_extensions import deprecated, override import error_messages from capture_method import CAPTURE_METHODS, CaptureMethodEnum, Region, change_capture_method -from gen import design from hotkeys import HOTKEYS, Hotkey, remove_all_hotkeys, set_hotkey from menu_bar import open_settings from utils import auto_split_directory diff --git a/src/utils.py b/src/utils.py index 2308996c..de7d0c34 100644 --- a/src/utils.py +++ b/src/utils.py @@ -14,7 +14,6 @@ import cv2 import numpy as np from cv2.typing import MatLike - from gen.build_vars import AUTOSPLIT_BUILD_NUMBER, AUTOSPLIT_GITHUB_REPOSITORY if sys.platform == "win32":