From f7edb7b706d51036853853b44bdd19fadcddf7df Mon Sep 17 00:00:00 2001 From: David Nadlinger Date: Sun, 17 Sep 2023 03:16:49 +0100 Subject: [PATCH] gui: Remove some unused imports [nfc] --- artiq/gui/flowlayout.py | 3 +-- artiq/gui/log.py | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/artiq/gui/flowlayout.py b/artiq/gui/flowlayout.py index d597197e0..1d1d31833 100644 --- a/artiq/gui/flowlayout.py +++ b/artiq/gui/flowlayout.py @@ -40,8 +40,7 @@ from PyQt6.QtCore import QPoint, QRect, QSize, Qt -from PyQt6.QtWidgets import (QApplication, QLayout, QPushButton, QSizePolicy, - QWidget) +from PyQt6.QtWidgets import QLayout, QSizePolicy class FlowLayout(QLayout): diff --git a/artiq/gui/log.py b/artiq/gui/log.py index d0f0c147d..5d2db82ff 100644 --- a/artiq/gui/log.py +++ b/artiq/gui/log.py @@ -1,6 +1,5 @@ import logging import time -import re from functools import partial from PyQt6 import QtCore, QtGui, QtWidgets