summaryrefslogtreecommitdiff
path: root/qutebrowser/mainwindow/tabbedbrowser.py
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2019-10-15 18:48:12 +0200
committerFlorian Bruhin <me@the-compiler.org>2019-10-15 18:59:55 +0200
commitfe2463c63bd06c1a2a0c0a9326b166908a42101f (patch)
tree2964311d3218a4b6f268611fb6a495b1da180f16 /qutebrowser/mainwindow/tabbedbrowser.py
parent02bde80f0b968b20c86403fa38f8e3a5a6391eea (diff)
downloadqutebrowser-fe2463c63bd06c1a2a0c0a9326b166908a42101f.tar.gz
qutebrowser-fe2463c63bd06c1a2a0c0a9326b166908a42101f.zip
mypy: check_untyped_defs for qutebrowser.mainwindow
Diffstat (limited to 'qutebrowser/mainwindow/tabbedbrowser.py')
-rw-r--r--qutebrowser/mainwindow/tabbedbrowser.py12
1 files changed, 8 insertions, 4 deletions
diff --git a/qutebrowser/mainwindow/tabbedbrowser.py b/qutebrowser/mainwindow/tabbedbrowser.py
index 1900070b5..dd757920c 100644
--- a/qutebrowser/mainwindow/tabbedbrowser.py
+++ b/qutebrowser/mainwindow/tabbedbrowser.py
@@ -217,14 +217,18 @@ class TabbedBrowser(QWidget):
# This init is never used, it is immediately thrown away in the next
# line.
- self._undo_stack = collections.deque()
+ self._undo_stack = (
+ collections.deque()
+ ) # type: typing.Sequence[typing.Sequence[UndoEntry]]
self._update_stack_size()
self._filter = signalfilter.SignalFilter(win_id, self)
self._now_focused = None
self.search_text = None
- self.search_options = {}
- self._local_marks = {}
- self._global_marks = {}
+ self.search_options = {} # type: typing.Mapping[str, typing.Any]
+ self._local_marks = {
+ } # type: typing.Mapping[QUrl, typing.Mapping[str, int]]
+ self._global_marks = {
+ } # type: typing.Mapping[str, typing.Tuple[QUrl, int]]
self.default_window_icon = self.widget.window().windowIcon()
self.is_private = private
self.tab_deque = TabDeque()