Finish type hints for utils.usertypes
This commit is contained in:
parent
7a2a736cc5
commit
ef88663ecd
4
mypy.ini
4
mypy.ini
|
|
@ -157,3 +157,7 @@ disallow_incomplete_defs = True
|
|||
[mypy-qutebrowser.utils.urlutils]
|
||||
disallow_untyped_defs = True
|
||||
disallow_incomplete_defs = True
|
||||
|
||||
[mypy-qutebrowser.utils.usertypes]
|
||||
disallow_untyped_defs = True
|
||||
disallow_incomplete_defs = True
|
||||
|
|
|
|||
|
|
@ -452,7 +452,7 @@ class NavigationRequest:
|
|||
'other'
|
||||
])
|
||||
|
||||
url = attr.ib()
|
||||
navigation_type = attr.ib()
|
||||
is_main_frame = attr.ib()
|
||||
accepted = attr.ib(default=True)
|
||||
url = attr.ib() # type: QUrl
|
||||
navigation_type = attr.ib() # type: Type
|
||||
is_main_frame = attr.ib() # type: bool
|
||||
accepted = attr.ib(default=True) # type: bool
|
||||
|
|
|
|||
Loading…
Reference in New Issue