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,9 +1,7 @@
# Stubs for wave (Python 2 and 3)
import sys
from typing import (
Any, NamedTuple, NoReturn, Optional, Text, BinaryIO, Union, Tuple, IO
)
from typing import IO, Any, BinaryIO, NamedTuple, NoReturn, Optional, Text, Tuple, Union
_File = Union[Text, IO[bytes]]
@@ -72,5 +70,6 @@ class Wave_write:
# Returns a Wave_read if mode is rb and Wave_write if mode is wb
def open(f: _File, mode: Optional[str] = ...) -> Any: ...
if sys.version_info < (3, 9):
openfp = open