diff options
author | Florian Bruhin <me@the-compiler.org> | 2019-10-13 15:53:47 +0200 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2019-10-13 18:38:07 +0200 |
commit | a843590e2e5f5a8fbdcf4da62b2c5b033dcd517e (patch) | |
tree | 9d95e84f785f06e9b5935d75cee95a57d119a8ca /qutebrowser/mainwindow/prompt.py | |
parent | b11f571e23c15293ed0a5dad6fe3194b20421ba0 (diff) | |
download | qutebrowser-a843590e2e5f5a8fbdcf4da62b2c5b033dcd517e.tar.gz qutebrowser-a843590e2e5f5a8fbdcf4da62b2c5b033dcd517e.zip |
Fix mypy issues
Diffstat (limited to 'qutebrowser/mainwindow/prompt.py')
-rw-r--r-- | qutebrowser/mainwindow/prompt.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/qutebrowser/mainwindow/prompt.py b/qutebrowser/mainwindow/prompt.py index 623e3ecad..8fb56004a 100644 --- a/qutebrowser/mainwindow/prompt.py +++ b/qutebrowser/mainwindow/prompt.py @@ -23,6 +23,7 @@ import os.path import html import collections import functools +import typing import attr from PyQt5.QtCore import (pyqtSlot, pyqtSignal, Qt, QTimer, QDir, QModelIndex, @@ -39,7 +40,7 @@ from qutebrowser.api import cmdutils from qutebrowser.utils import urlmatch -prompt_queue = None +prompt_queue = typing.cast('PromptQueue', None) @attr.s |