summaryrefslogtreecommitdiff
path: root/qutebrowser/mainwindow/prompt.py
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2018-11-26 20:12:03 +0100
committerFlorian Bruhin <me@the-compiler.org>2018-11-26 20:12:03 +0100
commit1f36e56e1c724b9a7a4ef4236774b8e1379a1351 (patch)
tree0d9caef852ef22071813fe81009ff50e22585afc /qutebrowser/mainwindow/prompt.py
parentfda807ce9a3375f63e4e226daeb15d4317e137fc (diff)
downloadqutebrowser-1f36e56e1c724b9a7a4ef4236774b8e1379a1351.tar.gz
qutebrowser-1f36e56e1c724b9a7a4ef4236774b8e1379a1351.zip
Complete partial annotations
Unfortunately we can't turn on mypy's --disallow-incomplete-defs (yet) due to https://github.com/python/mypy/issues/5954
Diffstat (limited to 'qutebrowser/mainwindow/prompt.py')
-rw-r--r--qutebrowser/mainwindow/prompt.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/qutebrowser/mainwindow/prompt.py b/qutebrowser/mainwindow/prompt.py
index 5eb76c86e..f6a8b1224 100644
--- a/qutebrowser/mainwindow/prompt.py
+++ b/qutebrowser/mainwindow/prompt.py
@@ -391,7 +391,8 @@ class PromptContainer(QWidget):
@cmdutils.register(instance='prompt-container', scope='window',
modes=[usertypes.KeyMode.prompt], maxsplit=0)
- def prompt_open_download(self, cmdline: str = None, pdfjs=False):
+ def prompt_open_download(self, cmdline: str = None,
+ pdfjs: bool = False) -> None:
"""Immediately open a download.
If no specific command is given, this will use the system's default