Skip to content

Commit

Permalink
Fix some linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Liquid369 committed Sep 18, 2024
1 parent 13fe7fb commit 073863c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/mainWindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from PyQt5.QtCore import pyqtSignal, Qt, QThread
from PyQt5.QtGui import QPixmap, QColor, QPalette, QTextCursor, QFont, QIcon
from PyQt5.QtWidgets import QWidget, QPushButton, QHBoxLayout, QGroupBox, QVBoxLayout, \
QFileDialog, QTextEdit, QTabWidget, QLabel, QSplitter, QAction, QMenuBar
QFileDialog, QTextEdit, QTabWidget, QLabel, QSplitter

from apiClient import ApiClient
from constants import starting_height, DefaultCache, wqueue
Expand Down
4 changes: 2 additions & 2 deletions src/qt/gui_tabRewards.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

from PyQt5.QtCore import Qt
from PyQt5.QtWidgets import (
QWidget, QPushButton, QHBoxLayout, QGroupBox, QVBoxLayout, QLineEdit, QComboBox,
QProgressBar, QLabel, QFormLayout, QDoubleSpinBox, QTableWidget, QTableWidgetItem,
QWidget, QPushButton, QHBoxLayout, QGroupBox, QVBoxLayout, QLineEdit, QComboBox,
QProgressBar, QLabel, QFormLayout, QDoubleSpinBox, QTableWidget, QTableWidgetItem,
QAbstractItemView, QHeaderView, QSpinBox
)

Expand Down
10 changes: 5 additions & 5 deletions src/threads.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
class ThreadFuns:
@staticmethod
def runInThread(
worker_fun: Callable[..., Any],
worker_fun_args: tuple,
on_thread_finish: Optional[Callable[[], None]] = None,
worker_fun: Callable[..., Any],
worker_fun_args: tuple,
on_thread_finish: Optional[Callable[[], None]] = None,
on_thread_exception: Optional[Callable[[Exception], None]] = None,
skip_raise_exception: bool = False
) -> threading.Thread:
Expand All @@ -38,9 +38,9 @@ def runInThread(
"""

def on_thread_finished_int(
thread_arg: WorkerThread,
thread_arg: WorkerThread,
on_thread_finish_arg: Optional[Callable[[], None]],
skip_raise_exception_arg: bool,
skip_raise_exception_arg: bool,
on_thread_exception_arg: Optional[Callable[[Exception], None]]
):
if thread_arg.worker_exception:
Expand Down

0 comments on commit 073863c

Please sign in to comment.