diff --git a/adafruit_fancyled/adafruit_fancyled.py b/adafruit_fancyled/adafruit_fancyled.py index 7dcda1f..302da18 100644 --- a/adafruit_fancyled/adafruit_fancyled.py +++ b/adafruit_fancyled/adafruit_fancyled.py @@ -108,7 +108,7 @@ def __init__(self, red, green=0.0, blue=0.0): else: self.blue = normalize(blue) - def __repr__(self): + def __repr__(self): # pylint: disable=invalid-repr-returned return (self.red, self.green, self.blue) def __str__(self): @@ -174,7 +174,7 @@ def __init__(self, h, s=1.0, v=1.0): else: self.value = normalize(v) - def __repr__(self): + def __repr__(self): # pylint: disable=invalid-repr-returned return (self.hue, self.saturation, self.value) def __str__(self): diff --git a/docs/conf.py b/docs/conf.py index e495187..0f4971e 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -10,11 +10,7 @@ # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. -extensions = [ - "sphinx.ext.autodoc", - "sphinx.ext.intersphinx", - "sphinx.ext.viewcode", -] +extensions = ["sphinx.ext.autodoc", "sphinx.ext.intersphinx", "sphinx.ext.viewcode"] # Uncomment the below if you use native CircuitPython modules such as # digitalio, micropython and busio. List the modules you use. Without it, the @@ -139,7 +135,7 @@ "Adafruitfancyled Library Documentation", author, "manual", - ), + ) ] # -- Options for manual page output --------------------------------------- @@ -170,5 +166,5 @@ "AdafruitfancyledLibrary", "One line description of project.", "Miscellaneous", - ), + ) ]