mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-02-18 16:44:42 +04:00
mypy passes with check_untyped_defs
This commit is contained in:
parent
ab19b94811
commit
fa536a8693
25 changed files with 161 additions and 89 deletions
|
|
@ -1,10 +1,14 @@
|
|||
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
|
||||
import sys
|
||||
assert sys.platform == 'win32'
|
||||
|
||||
from ctypes import POINTER # noqa: E402
|
||||
from ctypes import windll # noqa: E402
|
||||
from ctypes import WinError # noqa: E402
|
||||
from ctypes import WINFUNCTYPE # noqa: E402
|
||||
from ctypes.wintypes import BOOL # noqa: E402
|
||||
from ctypes.wintypes import DWORD # noqa: E402
|
||||
from ctypes.wintypes import HANDLE # noqa: E402
|
||||
|
||||
|
||||
STD_OUTPUT_HANDLE = -11
|
||||
ENABLE_VIRTUAL_TERMINAL_PROCESSING = 4
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue