summaryrefslogtreecommitdiff
path: root/qutebrowser/extensions
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2019-10-15 23:27:58 +0200
committerFlorian Bruhin <me@the-compiler.org>2019-10-15 23:27:58 +0200
commita592651a0f2f5901be0bc3d95d6f6a197ef44464 (patch)
treea1af5da9565c93e6349aa283a7c722c710458d3a /qutebrowser/extensions
parent7ada7082aa4485a1f5ccc88f05298b17f2997700 (diff)
downloadqutebrowser-a592651a0f2f5901be0bc3d95d6f6a197ef44464.tar.gz
qutebrowser-a592651a0f2f5901be0bc3d95d6f6a197ef44464.zip
mypy: check_untyped_defs for browser.webkit
Diffstat (limited to 'qutebrowser/extensions')
-rw-r--r--qutebrowser/extensions/interceptors.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/qutebrowser/extensions/interceptors.py b/qutebrowser/extensions/interceptors.py
index 82379b16b..a72fe6cfa 100644
--- a/qutebrowser/extensions/interceptors.py
+++ b/qutebrowser/extensions/interceptors.py
@@ -73,7 +73,7 @@ class Request:
"""A request which can be intercepted/blocked."""
#: The URL of the page being shown.
- first_party_url = attr.ib() # type: QUrl
+ first_party_url = attr.ib() # type: typing.Optional[QUrl]
#: The URL of the file being requested.
request_url = attr.ib() # type: QUrl