Merge pull request #21 from adafruit/discord-fix
Might fix pylint failure
This commit is contained in:
commit
fdd76caede
2 changed files with 5 additions and 9 deletions
|
|
@ -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):
|
||||
|
|
|
|||
10
docs/conf.py
10
docs/conf.py
|
|
@ -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",
|
||||
),
|
||||
)
|
||||
]
|
||||
|
|
|
|||
Loading…
Reference in a new issue