Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion adafruit_featherwing/led_segments.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,5 +106,5 @@ def brightness(self):
@brightness.setter
def brightness(self, brightness):
if not 0 <= brightness <= 15:
raise ValueError('Brightness must be a value between 0 and 15')
raise ValueError("Brightness must be a value between 0 and 15")
self._segments.brightness = brightness / 15
2 changes: 1 addition & 1 deletion adafruit_featherwing/matrix_featherwing.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,5 +179,5 @@ def brightness(self):
@brightness.setter
def brightness(self, brightness):
if not 0 <= brightness <= 15:
raise ValueError('Brightness must be a value between 0 and 15')
raise ValueError("Brightness must be a value between 0 and 15")
self._matrix.brightness = brightness / 15
16 changes: 8 additions & 8 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,18 +43,18 @@
master_doc = "index"

# General information about the project.
project = u"Adafruit FeatherWing Library"
copyright = u"2017 Scott Shawcroft"
author = u"Scott Shawcroft"
project = "Adafruit FeatherWing Library"
copyright = "2017 Scott Shawcroft"
author = "Scott Shawcroft"

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = u"1.0"
version = "1.0"
# The full version, including alpha/beta/rc tags.
release = u"1.0"
release = "1.0"

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down Expand Up @@ -144,7 +144,7 @@
(
master_doc,
"AdafruitfeatherwingLibrary.tex",
u"Adafruitfeatherwing Library Documentation",
"Adafruitfeatherwing Library Documentation",
author,
"manual",
),
Expand All @@ -158,7 +158,7 @@
(
master_doc,
"Adafruitfeatherwinglibrary",
u"Adafruit featherwing Library Documentation",
"Adafruit featherwing Library Documentation",
[author],
1,
)
Expand All @@ -173,7 +173,7 @@
(
master_doc,
"AdafruitfeatherwingLibrary",
u"Adafruit featherwing Library Documentation",
"Adafruit featherwing Library Documentation",
author,
"AdafruitfeatherwingLibrary",
"One line description of project.",
Expand Down