Skip to content

Commit 1d89808

Browse files
committed
Organize imports
1 parent 217a0a6 commit 1d89808

File tree

6 files changed

+7
-5
lines changed

6 files changed

+7
-5
lines changed

requirements-dev.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ pytest
88
pytest-mock
99
# lint/formatting
1010
ruff
11+
isort

src/gui/widgets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1+
from collections.abc import Callable, Iterable, Mapping, Sequence
12
from typing import Optional
2-
from collections.abc import Sequence, Iterable, Callable, Mapping
33

44
import wx
55
from wx.lib.mixins.listctrl import TextEditMixin

src/gui/wx_app.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import logging
22
from typing import Literal, Optional
3-
import psutil
43

4+
import psutil
55
import wx
66
import wx.adv
7-
from common import single_call
87

8+
from common import single_call
99
from gui.layout_manager import LayoutPage
1010
from gui.on_spawn_manager import OnSpawnPage
1111
from gui.settings import SettingsPanel

src/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import logging
22
import os
3-
import psutil
43
import signal
54
import time
65

6+
import psutil
77
import win32con
88
import win32gui
99

src/window.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
import pywintypes
21
import ctypes
32
import ctypes.wintypes
43
import logging
54
import time
65
from typing import Iterator, Optional
76

87
import pyvda
8+
import pywintypes
99
import win32con
1010
import win32gui
1111
from comtypes import GUID

tools/format.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
python -m isort src
12
python -m ruff format src test

0 commit comments

Comments
 (0)