Skip to content

Commit 7983c0f

Browse files
authored
Merge pull request #13 from adafruit/black-update
Black reformatting with Python 3 target.
2 parents cb35bed + 39f9fa8 commit 7983c0f

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

adafruit_as726x.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494

9595
# pylint: disable=too-many-instance-attributes
9696
# pylint: disable=too-many-public-methods
97-
class Adafruit_AS726x():
97+
class Adafruit_AS726x:
9898
"""AS726x spectral sensor.
9999
100100
:param ~busio.I2C i2c_bus: The I2C bus connected to the sensor

docs/conf.py

+8-8
Original file line numberDiff line numberDiff line change
@@ -40,18 +40,18 @@
4040
master_doc = "index"
4141

4242
# General information about the project.
43-
project = u"Adafruit AS726x Library"
44-
copyright = u"2017 Dean Miller"
45-
author = u"Dean Miller"
43+
project = "Adafruit AS726x Library"
44+
copyright = "2017 Dean Miller"
45+
author = "Dean Miller"
4646

4747
# The version info for the project you're documenting, acts as replacement for
4848
# |version| and |release|, also used in various other places throughout the
4949
# built documents.
5050
#
5151
# The short X.Y version.
52-
version = u"1.0"
52+
version = "1.0"
5353
# The full version, including alpha/beta/rc tags.
54-
release = u"1.0"
54+
release = "1.0"
5555

5656
# The language for content autogenerated by Sphinx. Refer to documentation
5757
# for a list of supported languages.
@@ -135,7 +135,7 @@
135135
(
136136
master_doc,
137137
"AdafruitAS726xLibrary.tex",
138-
u"AdafruitAS726x Library Documentation",
138+
"AdafruitAS726x Library Documentation",
139139
author,
140140
"manual",
141141
),
@@ -149,7 +149,7 @@
149149
(
150150
master_doc,
151151
"AdafruitAS726xlibrary",
152-
u"Adafruit AS726x Library Documentation",
152+
"Adafruit AS726x Library Documentation",
153153
[author],
154154
1,
155155
)
@@ -164,7 +164,7 @@
164164
(
165165
master_doc,
166166
"AdafruitAS726xLibrary",
167-
u"Adafruit AS726x Library Documentation",
167+
"Adafruit AS726x Library Documentation",
168168
author,
169169
"AdafruitAS726xLibrary",
170170
"One line description of project.",

0 commit comments

Comments
 (0)