diff --git a/warg/colors/label_colors.py b/warg/colors/label_colors.py index 85f27d0..cb6d9e4 100644 --- a/warg/colors/label_colors.py +++ b/warg/colors/label_colors.py @@ -14,9 +14,7 @@ from warg import TripleNumber -def compute_color_for_labels( - label: int, palette: TripleNumber = (2**11 - 1, 2**15 - 1, 2**20 - 1) -) -> Tuple: +def compute_color_for_labels(label: int, palette: TripleNumber = (2**11 - 1, 2**15 - 1, 2**20 - 1)) -> Tuple: """ Simple function that adds fixed color depending on the class""" return (*[int(((label > 0) * p * (label**2 - label + 1)) % 255) for p in palette],) diff --git a/warg/data_structures/ordered_set.py b/warg/data_structures/ordered_set.py index 3fbf470..fe89f25 100644 --- a/warg/data_structures/ordered_set.py +++ b/warg/data_structures/ordered_set.py @@ -91,12 +91,10 @@ def __len__(self): return len(self.items) @overload - def __getitem__(self, index: Sequence[int]) -> List[T]: - ... + def __getitem__(self, index: Sequence[int]) -> List[T]: ... @overload - def __getitem__(self, index: slice) -> "OrderedSet[T]": - ... + def __getitem__(self, index: slice) -> "OrderedSet[T]": ... def __getitem__(self, index: int) -> T: """ diff --git a/warg/os_utilities/platform_selection.py b/warg/os_utilities/platform_selection.py index 02dab4d..a2afb71 100644 --- a/warg/os_utilities/platform_selection.py +++ b/warg/os_utilities/platform_selection.py @@ -107,7 +107,7 @@ def get_backend_module(project_name: str, backend_name: str = sys.platform) -> M "appindicator", "gtk", "xorg", - "gtk_dbus" + "gtk_dbus", # "unity", "kde", "gnome", "fallback", ] diff --git a/warg/text.py b/warg/text.py index c11c282..48ca3da 100644 --- a/warg/text.py +++ b/warg/text.py @@ -14,7 +14,7 @@ "ize": "ise", "yze": "yse", "iza": "isa", - "aluminum": "aluminium" + "aluminum": "aluminium", # 'se': 'ce', # 'og': 'ogue', }