mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-16 15:02:26 +08:00
apply black and isort (#4287)
* apply black and isort * move some type ignores
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
import sys
|
||||
from _typeshed import AnyPath
|
||||
from typing import Any, Optional, Pattern
|
||||
|
||||
from _typeshed import AnyPath
|
||||
|
||||
if sys.version_info < (3, 6):
|
||||
_SuccessType = bool
|
||||
else:
|
||||
@@ -43,6 +44,7 @@ if sys.version_info >= (3, 9):
|
||||
limit_sl_dest: Optional[AnyPath] = ...,
|
||||
hardlink_dupes: bool = ...,
|
||||
) -> _SuccessType: ...
|
||||
|
||||
elif sys.version_info >= (3, 7):
|
||||
def compile_dir(
|
||||
dir: AnyPath,
|
||||
@@ -100,6 +102,7 @@ if sys.version_info >= (3, 7):
|
||||
optimize: int = ...,
|
||||
invalidation_mode: Optional[PycInvalidationMode] = ...,
|
||||
) -> _SuccessType: ...
|
||||
|
||||
else:
|
||||
def compile_path(
|
||||
skip_curdir: bool = ...,
|
||||
|
||||
Reference in New Issue
Block a user