Merge pull request #13 from adafruit/black-update

Black reformatting with Python 3 target.
This commit is contained in:
Scott Shawcroft 2020-04-08 10:13:15 -07:00 committed by GitHub
commit 7983c0ff00
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 9 deletions

View file

@ -94,7 +94,7 @@ _AS726X_NUM_CHANNELS = const(6)
# pylint: disable=too-many-instance-attributes # pylint: disable=too-many-instance-attributes
# pylint: disable=too-many-public-methods # pylint: disable=too-many-public-methods
class Adafruit_AS726x(): class Adafruit_AS726x:
"""AS726x spectral sensor. """AS726x spectral sensor.
:param ~busio.I2C i2c_bus: The I2C bus connected to the sensor :param ~busio.I2C i2c_bus: The I2C bus connected to the sensor

View file

@ -40,18 +40,18 @@ source_suffix = ".rst"
master_doc = "index" master_doc = "index"
# General information about the project. # General information about the project.
project = u"Adafruit AS726x Library" project = "Adafruit AS726x Library"
copyright = u"2017 Dean Miller" copyright = "2017 Dean Miller"
author = u"Dean Miller" author = "Dean Miller"
# The version info for the project you're documenting, acts as replacement for # The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the # |version| and |release|, also used in various other places throughout the
# built documents. # built documents.
# #
# The short X.Y version. # The short X.Y version.
version = u"1.0" version = "1.0"
# The full version, including alpha/beta/rc tags. # 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 # The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages. # for a list of supported languages.
@ -135,7 +135,7 @@ latex_documents = [
( (
master_doc, master_doc,
"AdafruitAS726xLibrary.tex", "AdafruitAS726xLibrary.tex",
u"AdafruitAS726x Library Documentation", "AdafruitAS726x Library Documentation",
author, author,
"manual", "manual",
), ),
@ -149,7 +149,7 @@ man_pages = [
( (
master_doc, master_doc,
"AdafruitAS726xlibrary", "AdafruitAS726xlibrary",
u"Adafruit AS726x Library Documentation", "Adafruit AS726x Library Documentation",
[author], [author],
1, 1,
) )
@ -164,7 +164,7 @@ texinfo_documents = [
( (
master_doc, master_doc,
"AdafruitAS726xLibrary", "AdafruitAS726xLibrary",
u"Adafruit AS726x Library Documentation", "Adafruit AS726x Library Documentation",
author, author,
"AdafruitAS726xLibrary", "AdafruitAS726xLibrary",
"One line description of project.", "One line description of project.",