apply black and isort (#4287)

* apply black and isort

* move some type ignores
This commit is contained in:
Jelle Zijlstra
2020-06-28 13:31:00 -07:00
committed by GitHub
parent fe58699ca5
commit 5d553c9584
800 changed files with 13875 additions and 10332 deletions

View File

@@ -1,16 +1,20 @@
from profile import Profile
from cProfile import Profile as _cProfile
from profile import Profile
from typing import IO, Any, Dict, Iterable, List, Optional, Text, Tuple, TypeVar, Union, overload
from _typeshed import AnyPath
from typing import Any, Dict, IO, Iterable, List, Optional, Text, Tuple, TypeVar, Union, overload
_Selector = Union[str, float, int]
_T = TypeVar('_T', bound=Stats)
_T = TypeVar("_T", bound=Stats)
class Stats:
sort_arg_dict_default: Dict[str, Tuple[Any, str]]
def __init__(self: _T, __arg: Union[None, str, Text, Profile, _cProfile] = ...,
*args: Union[None, str, Text, Profile, _cProfile, _T],
stream: Optional[IO[Any]] = ...) -> None: ...
def __init__(
self: _T,
__arg: Union[None, str, Text, Profile, _cProfile] = ...,
*args: Union[None, str, Text, Profile, _cProfile, _T],
stream: Optional[IO[Any]] = ...,
) -> None: ...
def init(self, arg: Union[None, str, Text, Profile, _cProfile]) -> None: ...
def load_stats(self, arg: Union[None, str, Text, Profile, _cProfile]) -> None: ...
def get_top_level_stats(self) -> None: ...