Skip to content

Commit fdd76ca

Browse files
authored
Merge pull request #21 from adafruit/discord-fix
Might fix pylint failure
2 parents c1d22e1 + ff6b835 commit fdd76ca

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

adafruit_fancyled/adafruit_fancyled.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ def __init__(self, red, green=0.0, blue=0.0):
108108
else:
109109
self.blue = normalize(blue)
110110

111-
def __repr__(self):
111+
def __repr__(self): # pylint: disable=invalid-repr-returned
112112
return (self.red, self.green, self.blue)
113113

114114
def __str__(self):
@@ -174,7 +174,7 @@ def __init__(self, h, s=1.0, v=1.0):
174174
else:
175175
self.value = normalize(v)
176176

177-
def __repr__(self):
177+
def __repr__(self): # pylint: disable=invalid-repr-returned
178178
return (self.hue, self.saturation, self.value)
179179

180180
def __str__(self):

docs/conf.py

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,7 @@
1010
# Add any Sphinx extension module names here, as strings. They can be
1111
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
1212
# ones.
13-
extensions = [
14-
"sphinx.ext.autodoc",
15-
"sphinx.ext.intersphinx",
16-
"sphinx.ext.viewcode",
17-
]
13+
extensions = ["sphinx.ext.autodoc", "sphinx.ext.intersphinx", "sphinx.ext.viewcode"]
1814

1915
# Uncomment the below if you use native CircuitPython modules such as
2016
# digitalio, micropython and busio. List the modules you use. Without it, the
@@ -139,7 +135,7 @@
139135
"Adafruitfancyled Library Documentation",
140136
author,
141137
"manual",
142-
),
138+
)
143139
]
144140

145141
# -- Options for manual page output ---------------------------------------
@@ -170,5 +166,5 @@
170166
"AdafruitfancyledLibrary",
171167
"One line description of project.",
172168
"Miscellaneous",
173-
),
169+
)
174170
]

0 commit comments

Comments
 (0)