Skip to content

Commit

Permalink
sort imports
Browse files Browse the repository at this point in the history
  • Loading branch information
th3w1zard1 committed Mar 24, 2024
1 parent 6ba0011 commit 7f00d5d
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 7 deletions.
1 change: 0 additions & 1 deletion Libraries/PyKotor/src/pykotor/extract/stringref_twoda.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
from pykotor.extract.file import ResourceIdentifier
from pykotor.resource.type import ResourceType


# This will eventually be an entire mapping of the 2DA in the game.
# e.g. some 2da reference each other's rows/columns for information.
# Currently due to the scale of the project this will only link the strrefs to the TLK.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

from abc import ABC, abstractmethod
from enum import Enum, IntEnum
import os
from typing import TYPE_CHECKING, Any, NamedTuple

if TYPE_CHECKING:
Expand Down
2 changes: 1 addition & 1 deletion Libraries/Utility/src/utility/updater/restarter.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
import os
import subprocess
import sys
import time

from enum import Enum
from tempfile import TemporaryDirectory
import time
from typing import TYPE_CHECKING, Callable

from utility.logger import get_first_available_logger
Expand Down
1 change: 0 additions & 1 deletion Tools/HolocronToolset/src/toolset/gui/editors/jrl.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
if TYPE_CHECKING:
import os

from pykotor.resource.formats.twoda.twoda_data import TwoDA
from PyQt5.QtCore import QItemSelection, QPoint
from PyQt5.QtWidgets import QWidget

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@

from pykotor.common.geometry import Vector2, Vector3
from pykotor.common.stream import BinaryReader, BinaryWriter
from utility.system.os_helper import is_frozen
from toolset.config import download_github_file, getRemoteToolsetUpdateInfo, remoteVersionNewer
from toolset.data.indoorkit import load_kits
from toolset.data.indoormap import IndoorMap, IndoorMapRoom
Expand All @@ -43,6 +42,7 @@
from toolset.gui.windows.help import HelpWindow
from utility.error_handling import assert_with_variable_trace, format_exception_with_variables, universal_simplify_exception
from utility.misc import is_debug_mode
from utility.system.os_helper import is_frozen
from utility.system.path import Path

if TYPE_CHECKING:
Expand Down
3 changes: 1 addition & 2 deletions Tools/HolocronToolset/src/toolset/gui/windows/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
QMainWindow,
QMessageBox,
QPushButton,
QStyle,
QVBoxLayout,
QWidget,
QStyle,
)
from watchdog.events import FileSystemEventHandler
from watchdog.observers import Observer
Expand Down Expand Up @@ -79,7 +79,6 @@
format_exception_with_variables,
universal_simplify_exception,
)
from utility.error_handling import format_exception_with_variables, universal_simplify_exception
from utility.misc import ProcessorArchitecture
from utility.system.path import Path, PurePath
from utility.updater.update import AppUpdate
Expand Down

0 comments on commit 7f00d5d

Please sign in to comment.