Skip to content

Commit

Permalink
Organize imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Crozzers committed Jan 20, 2024
1 parent 217a0a6 commit 1d89808
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ pytest
pytest-mock
# lint/formatting
ruff
isort
2 changes: 1 addition & 1 deletion src/gui/widgets.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from collections.abc import Callable, Iterable, Mapping, Sequence
from typing import Optional
from collections.abc import Sequence, Iterable, Callable, Mapping

import wx
from wx.lib.mixins.listctrl import TextEditMixin
Expand Down
4 changes: 2 additions & 2 deletions src/gui/wx_app.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import logging
from typing import Literal, Optional
import psutil

import psutil
import wx
import wx.adv
from common import single_call

from common import single_call
from gui.layout_manager import LayoutPage
from gui.on_spawn_manager import OnSpawnPage
from gui.settings import SettingsPanel
Expand Down
2 changes: 1 addition & 1 deletion src/main.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import logging
import os
import psutil
import signal
import time

import psutil
import win32con
import win32gui

Expand Down
2 changes: 1 addition & 1 deletion src/window.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import pywintypes
import ctypes
import ctypes.wintypes
import logging
import time
from typing import Iterator, Optional

import pyvda
import pywintypes
import win32con
import win32gui
from comtypes import GUID
Expand Down
1 change: 1 addition & 0 deletions tools/format.bat
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
python -m isort src
python -m ruff format src test

0 comments on commit 1d89808

Please sign in to comment.