summaryrefslogtreecommitdiff
path: root/qutebrowser
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2023-06-24 20:14:53 +0200
committerFlorian Bruhin <me@the-compiler.org>2023-06-30 19:29:28 +0200
commit342cd9585ad3b7a3dbb6a205e705b8984ea4bb72 (patch)
treeb7cfc2a0c93cf1df0d72293d109d5257e9dce68c /qutebrowser
parentb5d5c7f4d35e624abb30a1d585d30596637bea94 (diff)
downloadqutebrowser-342cd9585ad3b7a3dbb6a205e705b8984ea4bb72.tar.gz
qutebrowser-342cd9585ad3b7a3dbb6a205e705b8984ea4bb72.zip
Fix mypy
Diffstat (limited to 'qutebrowser')
-rw-r--r--qutebrowser/qt/machinery.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/qutebrowser/qt/machinery.py b/qutebrowser/qt/machinery.py
index 3fdb4efb4..c737fa96f 100644
--- a/qutebrowser/qt/machinery.py
+++ b/qutebrowser/qt/machinery.py
@@ -178,8 +178,7 @@ def _select_wrapper(args: Optional[argparse.Namespace]) -> SelectionInfo:
return SelectionInfo(wrapper=env_wrapper, reason=SelectionReason.env)
if _WRAPPER_OVERRIDE is not None:
- pass # type: ignore[unreachable]
- assert _WRAPPER_OVERRIDE in WRAPPERS, _WRAPPER_OVERRIDE
+ assert _WRAPPER_OVERRIDE in WRAPPERS # type: ignore[unreachable]
return SelectionInfo(wrapper=_WRAPPER_OVERRIDE, reason=SelectionReason.override)
return _autoselect_wrapper()