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