From 05bf78b17ab800a0ac34b67ee661b68315da6133 Mon Sep 17 00:00:00 2001 From: Will McGugan Date: Mon, 12 Oct 2020 16:57:43 +0100 Subject: [PATCH] ignore windows type issue --- rich/_windows.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rich/_windows.py b/rich/_windows.py index b60e6e0a..d252d1f9 100644 --- a/rich/_windows.py +++ b/rich/_windows.py @@ -53,7 +53,7 @@ else: vt = bool(result and console_mode.value & ENABLE_VIRTUAL_TERMINAL_PROCESSING) truecolor = False if vt: - win_version = sys.getwindowsversion() + win_version = sys.getwindowsversion() # type: ignore truecolor = win_version.major > 10 or ( win_version.major == 10 and win_version.build >= 15063 )