8000 Make mypy happy · twigleingrid/qutebrowser@7d9951e · GitHub
[go: up one dir, main page]

Skip to content

Commit 7d9951e

Browse files
The-Compilertwigleingrid
authored andcommitted
Make mypy happy
It seems to only check the true condition based on the given Python version in the config... See python/mypy#12286
1 parent e61720b commit 7d9951e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qutebrowser/misc/utilcmds.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def debug_cache_stats() -> None:
128128
"""Print LRU cache stats."""
129129
if sys.version_info < (3, 9):
130130
raise cmdutils.CommandError('debugcachestats not supported on python < 3.9')
131-
debugcachestats.debug_cache_stats()
131+
debugcachestats.debug_cache_stats() # type: ignore[unreachable]
132132

133133

134134
@cmdutils.register(debug=True)

0 commit comments

Comments
 (0)
0