mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-04-15 18:11:48 +04:00
tidied and sorted imports
removed ones not required as well, groups and spaced.
This commit is contained in:
parent
cb0bcfd67f
commit
cd00569d64
18 changed files with 4 additions and 24 deletions
|
|
@ -6,13 +6,8 @@ import sys
|
|||
|
||||
if sys.platform == 'win32': # pragma: no cover (windows)
|
||||
def _enable() -> None:
|
||||
from ctypes import POINTER
|
||||
from ctypes import windll
|
||||
from ctypes import WinError
|
||||
from ctypes import WINFUNCTYPE
|
||||
from ctypes.wintypes import BOOL
|
||||
from ctypes.wintypes import DWORD
|
||||
from ctypes.wintypes import HANDLE
|
||||
from ctypes import POINTER, WINFUNCTYPE, WinError, windll
|
||||
from ctypes.wintypes import BOOL, DWORD, HANDLE
|
||||
|
||||
STD_ERROR_HANDLE = -12
|
||||
ENABLE_VIRTUAL_TERMINAL_PROCESSING = 4
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue