Merge pull request #21 from adafruit/discord-fix

Might fix pylint failure
This commit is contained in:
Kattni 2020-07-09 15:42:29 -04:00 committed by GitHub
commit fdd76caede
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 9 deletions

View file

@ -108,7 +108,7 @@ class CRGB:
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 @@ class CHSV:
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):

View file

@ -10,11 +10,7 @@ sys.path.insert(0, os.path.abspath(".."))
# 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 @@ latex_documents = [
"Adafruitfancyled Library Documentation",
author,
"manual",
),
)
]
# -- Options for manual page output ---------------------------------------
@ -170,5 +166,5 @@ texinfo_documents = [
"AdafruitfancyledLibrary",
"One line description of project.",
"Miscellaneous",
),
)
]