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,8 +1,8 @@
# Stubs for copy
from typing import TypeVar, Optional, Dict, Any
from typing import Any, Dict, Optional, TypeVar
_T = TypeVar('_T')
_T = TypeVar("_T")
# None in CPython but non-None in Jython
PyStringMap: Any
@@ -10,5 +10,7 @@ PyStringMap: Any
# Note: memo and _nil are internal kwargs.
def deepcopy(x: _T, memo: Optional[Dict[int, _T]] = ..., _nil: Any = ...) -> _T: ...
def copy(x: _T) -> _T: ...
class Error(Exception): ...
error = Error