Skip to content

Commit 7ce1f83

Browse files
committed
Black reformatting with Python 3 target.
1 parent d426284 commit 7ce1f83

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

adafruit_featherwing/led_segments.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,5 +106,5 @@ def brightness(self):
106106
@brightness.setter
107107
def brightness(self, brightness):
108108
if not 0 <= brightness <= 15:
109-
raise ValueError('Brightness must be a value between 0 and 15')
109+
raise ValueError("Brightness must be a value between 0 and 15")
110110
self._segments.brightness = brightness / 15

adafruit_featherwing/matrix_featherwing.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -179,5 +179,5 @@ def brightness(self):
179179
@brightness.setter
180180
def brightness(self, brightness):
181181
if not 0 <= brightness <= 15:
182-
raise ValueError('Brightness must be a value between 0 and 15')
182+
raise ValueError("Brightness must be a value between 0 and 15")
183183
self._matrix.brightness = brightness / 15

docs/conf.py

+8-8
Original file line numberDiff line numberDiff line change
@@ -43,18 +43,18 @@
4343
master_doc = "index"
4444

4545
# General information about the project.
46-
project = u"Adafruit FeatherWing Library"
47-
copyright = u"2017 Scott Shawcroft"
48-
author = u"Scott Shawcroft"
46+
project = "Adafruit FeatherWing Library"
47+
copyright = "2017 Scott Shawcroft"
48+
author = "Scott Shawcroft"
4949

5050
# The version info for the project you're documenting, acts as replacement for
5151
# |version| and |release|, also used in various other places throughout the
5252
# built documents.
5353
#
5454
# The short X.Y version.
55-
version = u"1.0"
55+
version = "1.0"
5656
# The full version, including alpha/beta/rc tags.
57-
release = u"1.0"
57+
release = "1.0"
5858

5959
# The language for content autogenerated by Sphinx. Refer to documentation
6060
# for a list of supported languages.
@@ -144,7 +144,7 @@
144144
(
145145
master_doc,
146146
"AdafruitfeatherwingLibrary.tex",
147-
u"Adafruitfeatherwing Library Documentation",
147+
"Adafruitfeatherwing Library Documentation",
148148
author,
149149
"manual",
150150
),
@@ -158,7 +158,7 @@
158158
(
159159
master_doc,
160160
"Adafruitfeatherwinglibrary",
161-
u"Adafruit featherwing Library Documentation",
161+
"Adafruit featherwing Library Documentation",
162162
[author],
163163
1,
164164
)
@@ -173,7 +173,7 @@
173173
(
174174
master_doc,
175175
"AdafruitfeatherwingLibrary",
176-
u"Adafruit featherwing Library Documentation",
176+
"Adafruit featherwing Library Documentation",
177177
author,
178178
"AdafruitfeatherwingLibrary",
179179
"One line description of project.",

0 commit comments

Comments
 (0)