Ignore mypy errors on colorama import.

This commit is contained in:
Joe Testa 2024-09-28 17:43:32 -04:00
parent 629008e55e
commit cb6142c609

View File

@ -68,7 +68,7 @@ from ssh_audit.utils import Utils
# Only import colorama under Windows. Other OSes can natively handle terminal colors. # Only import colorama under Windows. Other OSes can natively handle terminal colors.
if sys.platform == 'win32': if sys.platform == 'win32':
try: try:
from colorama import just_fix_windows_console from colorama import just_fix_windows_console # type: ignore
just_fix_windows_console() just_fix_windows_console()
except ImportError: except ImportError:
pass pass