mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-30 08:04:24 +08:00
black: enable skip_magic_trailing_comma (#5252)
* black: enable skip_magic_trailing_comma * Remove spurious commas
This commit is contained in:
@@ -137,13 +137,7 @@ class Client:
|
||||
can_monitor: bool = ...,
|
||||
is_terminal: bool = ...,
|
||||
) -> List[Port]: ...
|
||||
def set_property(
|
||||
self,
|
||||
subject: Union[int, str],
|
||||
key: str,
|
||||
value: Union[str, bytes],
|
||||
type: str = ...,
|
||||
) -> None: ...
|
||||
def set_property(self, subject: Union[int, str], key: str, value: Union[str, bytes], type: str = ...) -> None: ...
|
||||
def remove_property(self, subject: Union[int, str], key: str) -> None: ...
|
||||
def remove_properties(self, subject: Union[int, str]) -> int: ...
|
||||
def remove_all_properties(self) -> None: ...
|
||||
@@ -202,9 +196,7 @@ class OwnMidiPort(MidiPort, OwnPort):
|
||||
def max_event_size(self) -> int: ...
|
||||
@property
|
||||
def lost_midi_events(self) -> int: ...
|
||||
def incoming_midi_events(
|
||||
self,
|
||||
) -> Generator[Tuple[int, _CBufferType], None, None]: ...
|
||||
def incoming_midi_events(self) -> Generator[Tuple[int, _CBufferType], None, None]: ...
|
||||
def clear_buffer(self) -> None: ...
|
||||
def write_midi_event(self, time: int, event: Union[bytes, Sequence[int], _CBufferType]) -> None: ...
|
||||
def reserve_midi_event(self, time: int, size: int) -> _CBufferType: ...
|
||||
|
||||
Reference in New Issue
Block a user