black: enable skip_magic_trailing_comma (#5252)

* black: enable skip_magic_trailing_comma

* Remove spurious commas
This commit is contained in:
Sebastian Rittau
2021-04-27 17:32:32 +02:00
committed by GitHub
parent b9937184ed
commit 4ac3ccad45
25 changed files with 44 additions and 236 deletions
+2 -11
View File
@@ -18,22 +18,13 @@ class Spinner(object):
stream: _Stream
stop_running: Optional[threading.Event]
spin_thread: Optional[threading.Thread]
def __init__(
self,
beep: bool,
disable: bool,
force: bool,
stream: _Stream,
) -> None: ...
def __init__(self, beep: bool, disable: bool, force: bool, stream: _Stream) -> None: ...
def start(self) -> None: ...
def stop(self) -> None: ...
def init_spin(self) -> None: ...
def __enter__(self) -> Spinner: ...
def __exit__(
self,
exc_type: Optional[Type[BaseException]],
exc_val: Optional[BaseException],
exc_tb: Optional[TracebackType],
self, exc_type: Optional[Type[BaseException]], exc_val: Optional[BaseException], exc_tb: Optional[TracebackType]
) -> Literal[False]: ...
def spinner(beep: bool, disable: bool, force: bool, stream: _Stream) -> Spinner: ...