Merge branch 'style' into 0.3

This commit is contained in:
miruka
2019-12-27 16:35:56 -04:00
19 changed files with 59 additions and 22 deletions

View File

@@ -7,7 +7,6 @@ import traceback
from pathlib import Path
from typing import Any, DefaultDict, Dict, List, Optional, Tuple
import hsluv
from appdirs import AppDirs
import nio
@@ -245,13 +244,6 @@ class Backend:
# General functions
@staticmethod
def hsluv(hue: int, saturation: int, lightness: int) -> List[float]:
"""Convert HSLuv (0-360, 0-100, 0-100) to RGB (0-1, 0-1, 0-1) color."""
return hsluv.hsluv_to_rgb([hue, saturation, lightness])
async def load_settings(self) -> tuple:
"""Return parsed user config files."""