Skip to content

Commit

Permalink
Merge pull request #205 from wlcsm/remove-unused-imports
Browse files Browse the repository at this point in the history
Remove unused imports
  • Loading branch information
jvdwetering committed Nov 24, 2023
2 parents ee387b8 + 742058d commit fcb1a96
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 10 deletions.
2 changes: 0 additions & 2 deletions test/test_editor_base_panel.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
# limitations under the License.


from fractions import Fraction

import pytest

from zxlive.editor_base_panel import string_to_complex
Expand Down
2 changes: 1 addition & 1 deletion zxlive/common.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import os
from enum import IntEnum
from typing import Final, Optional
from typing import Final
from typing_extensions import TypeAlias

from PySide6.QtCore import QSettings
Expand Down
1 change: 0 additions & 1 deletion zxlive/editor_base_panel.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from __future__ import annotations

import copy
import re
from enum import Enum
from typing import Callable, Iterator, TypedDict

Expand Down
2 changes: 1 addition & 1 deletion zxlive/mainwindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
from PySide6.QtCore import (QByteArray, QEvent, QFile, QFileInfo, QIODevice,
QSettings, QTextStream, Qt)
from PySide6.QtGui import QAction, QCloseEvent, QIcon, QKeySequence
from PySide6.QtWidgets import (QDialog, QFormLayout, QMainWindow, QMessageBox,
from PySide6.QtWidgets import (QDialog, QMainWindow, QMessageBox,
QTableWidget, QTableWidgetItem, QTabWidget,
QVBoxLayout, QWidget)

Expand Down
10 changes: 5 additions & 5 deletions zxlive/settings_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@

from __future__ import annotations

from typing import Optional,TYPE_CHECKING, Dict, Any
from typing import TYPE_CHECKING, Dict, Any

from PySide6.QtCore import QFile, QIODevice, QTextStream, QSettings, Qt
from PySide6.QtWidgets import (QDialog, QDialogButtonBox, QFileDialog,
QFormLayout, QLineEdit, QMessageBox,
QPushButton, QTextEdit, QWidget,
from PySide6.QtCore import QSettings
from PySide6.QtWidgets import (QDialog, QFileDialog,
QFormLayout, QLineEdit,
QPushButton, QWidget,
QVBoxLayout, QSpinBox, QDoubleSpinBox,
QLabel, QHBoxLayout, QTabWidget,
QComboBox)
Expand Down

0 comments on commit fcb1a96

Please sign in to comment.