diff options
author | Florian Bruhin <me@the-compiler.org> | 2022-03-26 11:10:07 +0100 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2022-03-26 11:10:07 +0100 |
commit | 70d83cb627eb7437779ec0bf37e323d55e7d315a (patch) | |
tree | 407431d699f702ae0e0a7d6d57eb58d0ce36a11d | |
parent | cedc3d2f28ed312520b4138acda88f6a0856dc90 (diff) | |
download | qutebrowser-70d83cb627eb7437779ec0bf37e323d55e7d315a.tar.gz qutebrowser-70d83cb627eb7437779ec0bf37e323d55e7d315a.zip |
Make mypy happy
It seems to only check the true condition based on the given Python version in the config...
See https://github.com/python/mypy/issues/12286
-rw-r--r-- | qutebrowser/misc/utilcmds.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qutebrowser/misc/utilcmds.py b/qutebrowser/misc/utilcmds.py index 486ca7a1d..14c02864e 100644 --- a/qutebrowser/misc/utilcmds.py +++ b/qutebrowser/misc/utilcmds.py @@ -128,7 +128,7 @@ def debug_cache_stats() -> None: """Print LRU cache stats.""" if sys.version_info < (3, 9): raise cmdutils.CommandError('debugcachestats not supported on python < 3.9') - debugcachestats.debug_cache_stats() + debugcachestats.debug_cache_stats() # type: ignore[unreachable] @cmdutils.register(debug=True) |