mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-25 01:38:40 +08:00
black: enable skip_magic_trailing_comma (#5252)
* black: enable skip_magic_trailing_comma * Remove spurious commas
This commit is contained in:
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user