8000 Make mypy happy · qutebrowser/qutebrowser@70d83cb · GitHub
[go: up one dir, main page]

Skip to content

Commit 70d83cb

Browse files
committed
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 cedc3d2 commit 70d83cb

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