mirror of
https://github.com/libratbag/libratbag.git
synced 2026-11-07 15:14:38 +01:00
ratbagd: format with ruff format
This commit is contained in:
@@ -742,7 +742,7 @@ class RatbagdResolution(_RatbagdDBus):
|
|||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def _convert_resolution_from_dbus(
|
def _convert_resolution_from_dbus(
|
||||||
res: Union[int, Tuple[int, int]]
|
res: Union[int, Tuple[int, int]],
|
||||||
) -> Union[Tuple[int], Tuple[int, int]]:
|
) -> Union[Tuple[int], Tuple[int, int]]:
|
||||||
"""
|
"""
|
||||||
Convert resolution from what D-Bus API returns - either an int or a tuple of two ints, to a tuple of either one or two ints.
|
Convert resolution from what D-Bus API returns - either an int or a tuple of two ints, to a tuple of either one or two ints.
|
||||||
|
|||||||
Reference in New Issue
Block a user