summaryrefslogtreecommitdiff
path: root/qutebrowser/mainwindow/tabbedbrowser.py
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2020-05-10 19:32:38 +0200
committerFlorian Bruhin <me@the-compiler.org>2020-05-10 19:32:38 +0200
commit3679d3a05b273cbac206c52632ae0c369e7cccf2 (patch)
tree5c1a3367429479b2cc9a5c95336f11657e725b3a /qutebrowser/mainwindow/tabbedbrowser.py
parente25a96de948f96365e87c6f53bba0753abd17711 (diff)
downloadqutebrowser-3679d3a05b273cbac206c52632ae0c369e7cccf2.tar.gz
qutebrowser-3679d3a05b273cbac206c52632ae0c369e7cccf2.zip
mypy: Disallow incomplete defs globally
Diffstat (limited to 'qutebrowser/mainwindow/tabbedbrowser.py')
-rw-r--r--qutebrowser/mainwindow/tabbedbrowser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/qutebrowser/mainwindow/tabbedbrowser.py b/qutebrowser/mainwindow/tabbedbrowser.py
index e94dee831..c1179abbf 100644
--- a/qutebrowser/mainwindow/tabbedbrowser.py
+++ b/qutebrowser/mainwindow/tabbedbrowser.py
@@ -97,7 +97,7 @@ class TabDeque:
self._ignore_next = True
return tab
- def next(self, cur_tab: QWidget, *, keep_overflow=True) -> QWidget:
+ def next(self, cur_tab: QWidget, *, keep_overflow: bool = True) -> QWidget:
"""Get the 'next' tab in the stack.
Throws IndexError on failure.