mirror of
				https://github.com/jtesta/ssh-audit.git
				synced 2025-11-03 18:52:15 +01:00 
			
		
		
		
	Ignore mypy errors on colorama import.
This commit is contained in:
		@@ -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
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user