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,12 +6,10 @@ import sys
|
|||
from typing import Callable
|
||||
from typing import Generator
|
||||
|
||||
|
||||
if sys.platform == 'win32': # pragma: no cover (windows)
|
||||
import msvcrt
|
||||
|
||||
# https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/locking
|
||||
|
||||
# on windows we lock "regions" of files, we don't care about the actual
|
||||
# byte region so we'll just pick *some* number here.
|
||||
_region = 0xffff
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue