diff options
author | Florian Bruhin <me@the-compiler.org> | 2018-11-26 20:12:03 +0100 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2018-11-26 20:12:03 +0100 |
commit | 1f36e56e1c724b9a7a4ef4236774b8e1379a1351 (patch) | |
tree | 0d9caef852ef22071813fe81009ff50e22585afc /qutebrowser/mainwindow/prompt.py | |
parent | fda807ce9a3375f63e4e226daeb15d4317e137fc (diff) | |
download | qutebrowser-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.py | 3 |
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 |