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

View File

@@ -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: ...