Skip to content

Commit

Permalink
Remove some unused variables and imports.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlyongemallo committed Nov 16, 2023
1 parent cd63c70 commit ac9eef4
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions zxlive/mainwindow.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,18 @@
from __future__ import annotations

import copy
from typing import Callable, Optional, TypedDict
from typing import Callable, Optional

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,
QTableWidget, QTableWidgetItem, QTabWidget,
QVBoxLayout, QWidget)
from pyzx import extract_circuit, simplify
from pyzx.graph.base import BaseGraph

import pyperclip

from .base_panel import BasePanel
from .commands import AddRewriteStep
from .common import GraphT, get_data, to_tikz, from_tikz
from .construct import *
from .custom_rule import CustomRule, check_rule
Expand All @@ -42,7 +39,6 @@
export_proof_dialog)
from zxlive.settings_dialog import open_settings_dialog

from .editor_base_panel import EditorBasePanel
from .edit_panel import GraphEditPanel
from .proof_panel import ProofPanel
from .rule_panel import RulePanel
Expand All @@ -52,8 +48,6 @@
class MainWindow(QMainWindow):
"""The main window of the ZXLive application."""

edit_panel: GraphEditPanel
proof_panel: ProofPanel
rewrite_form: QFormLayout
left_graph: Optional[GraphT]
right_graph: Optional[GraphT]
Expand Down

0 comments on commit ac9eef4

Please sign in to comment.