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

@@ -2,11 +2,11 @@
# NOTE: These are incomplete!
from threading import Condition, Lock
from typing import Any, TypeVar, Generic, Optional
import sys
from threading import Condition, Lock
from typing import Any, Generic, Optional, TypeVar
_T = TypeVar('_T')
_T = TypeVar("_T")
class Empty(Exception): ...
class Full(Exception): ...
@@ -20,7 +20,6 @@ class Queue(Generic[_T]):
all_tasks_done: Condition # undocumented
unfinished_tasks: int # undocumented
queue: Any # undocumented
def __init__(self, maxsize: int = ...) -> None: ...
def _init(self, maxsize: int) -> None: ...
def empty(self) -> bool: ...