diff options
author | Florian Bruhin <me@the-compiler.org> | 2023-06-24 20:14:53 +0200 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2023-06-30 19:29:28 +0200 |
commit | 342cd9585ad3b7a3dbb6a205e705b8984ea4bb72 (patch) | |
tree | b7cfc2a0c93cf1df0d72293d109d5257e9dce68c /qutebrowser | |
parent | b5d5c7f4d35e624abb30a1d585d30596637bea94 (diff) | |
download | qutebrowser-342cd9585ad3b7a3dbb6a205e705b8984ea4bb72.tar.gz qutebrowser-342cd9585ad3b7a3dbb6a205e705b8984ea4bb72.zip |
Fix mypy
Diffstat (limited to 'qutebrowser')
-rw-r--r-- | qutebrowser/qt/machinery.py | 3 |
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() |