diff --git a/qutebrowser/utils/completer.py b/qutebrowser/utils/completer.py index e12994e10..a82de842d 100644 --- a/qutebrowser/utils/completer.py +++ b/qutebrowser/utils/completer.py @@ -19,8 +19,6 @@ """Completer attached to a CompletionView.""" -import functools - from PyQt5.QtCore import pyqtSlot, pyqtSignal, QObject, QTimer from qutebrowser.config import config, configdata diff --git a/qutebrowser/widgets/completiondelegate.py b/qutebrowser/widgets/completiondelegate.py index 05cda5d88..3adab86b2 100644 --- a/qutebrowser/widgets/completiondelegate.py +++ b/qutebrowser/widgets/completiondelegate.py @@ -26,10 +26,9 @@ import html from PyQt5.QtWidgets import QStyle, QStyleOptionViewItem, QStyledItemDelegate from PyQt5.QtCore import QRectF, QSize, Qt from PyQt5.QtGui import (QIcon, QPalette, QTextDocument, QTextOption, - QTextCursor, QAbstractTextDocumentLayout) + QAbstractTextDocumentLayout) from qutebrowser.config import config, style -from qutebrowser.models import basecompletion from qutebrowser.utils import qtutils diff --git a/scripts/run_profile.py b/scripts/run_profile.py index 3b6f111a7..8851a423d 100755 --- a/scripts/run_profile.py +++ b/scripts/run_profile.py @@ -31,7 +31,6 @@ import shutil sys.path.insert(0, os.path.join(os.path.dirname(__file__), os.pardir)) import qutebrowser.qutebrowser # pylint: disable=unused-import -from scripts import utils tempdir = tempfile.mkdtemp()