Black reformatting with Python 3 target.
This commit is contained in:
parent
cb35bed783
commit
39f9fa8b58
2 changed files with 9 additions and 9 deletions
|
|
@ -94,7 +94,7 @@ _AS726X_NUM_CHANNELS = const(6)
|
|||
|
||||
# pylint: disable=too-many-instance-attributes
|
||||
# pylint: disable=too-many-public-methods
|
||||
class Adafruit_AS726x():
|
||||
class Adafruit_AS726x:
|
||||
"""AS726x spectral sensor.
|
||||
|
||||
:param ~busio.I2C i2c_bus: The I2C bus connected to the sensor
|
||||
|
|
|
|||
16
docs/conf.py
16
docs/conf.py
|
|
@ -40,18 +40,18 @@ source_suffix = ".rst"
|
|||
master_doc = "index"
|
||||
|
||||
# General information about the project.
|
||||
project = u"Adafruit AS726x Library"
|
||||
copyright = u"2017 Dean Miller"
|
||||
author = u"Dean Miller"
|
||||
project = "Adafruit AS726x Library"
|
||||
copyright = "2017 Dean Miller"
|
||||
author = "Dean Miller"
|
||||
|
||||
# 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.
|
||||
|
|
@ -135,7 +135,7 @@ latex_documents = [
|
|||
(
|
||||
master_doc,
|
||||
"AdafruitAS726xLibrary.tex",
|
||||
u"AdafruitAS726x Library Documentation",
|
||||
"AdafruitAS726x Library Documentation",
|
||||
author,
|
||||
"manual",
|
||||
),
|
||||
|
|
@ -149,7 +149,7 @@ man_pages = [
|
|||
(
|
||||
master_doc,
|
||||
"AdafruitAS726xlibrary",
|
||||
u"Adafruit AS726x Library Documentation",
|
||||
"Adafruit AS726x Library Documentation",
|
||||
[author],
|
||||
1,
|
||||
)
|
||||
|
|
@ -164,7 +164,7 @@ texinfo_documents = [
|
|||
(
|
||||
master_doc,
|
||||
"AdafruitAS726xLibrary",
|
||||
u"Adafruit AS726x Library Documentation",
|
||||
"Adafruit AS726x Library Documentation",
|
||||
author,
|
||||
"AdafruitAS726xLibrary",
|
||||
"One line description of project.",
|
||||
|
|
|
|||
Loading…
Reference in a new issue