mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-24 02:28:45 +08:00
apply black and isort (#4287)
* apply black and isort * move some type ignores
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# Stubs for site
|
||||
|
||||
from typing import List, Iterable, Optional
|
||||
import sys
|
||||
from typing import Iterable, List, Optional
|
||||
|
||||
PREFIXES: List[str]
|
||||
ENABLE_USER_SITE: Optional[bool]
|
||||
@@ -10,8 +10,8 @@ USER_BASE: Optional[str]
|
||||
|
||||
if sys.version_info < (3,):
|
||||
def main() -> None: ...
|
||||
def addsitedir(sitedir: str,
|
||||
known_paths: Optional[Iterable[str]] = ...) -> None: ...
|
||||
|
||||
def addsitedir(sitedir: str, known_paths: Optional[Iterable[str]] = ...) -> None: ...
|
||||
def getsitepackages(prefixes: Optional[Iterable[str]] = ...) -> List[str]: ...
|
||||
def getuserbase() -> str: ...
|
||||
def getusersitepackages() -> str: ...
|
||||
|
||||
Reference in New Issue
Block a user