From 39f9fa8b580d3664d0e18f51cd7516f9a22ec23d Mon Sep 17 00:00:00 2001 From: Kattni Rembor Date: Wed, 8 Apr 2020 13:03:34 -0400 Subject: [PATCH] Black reformatting with Python 3 target. --- adafruit_as726x.py | 2 +- docs/conf.py | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/adafruit_as726x.py b/adafruit_as726x.py index 67084aa..94d9e67 100644 --- a/adafruit_as726x.py +++ b/adafruit_as726x.py @@ -94,7 +94,7 @@ # 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 diff --git a/docs/conf.py b/docs/conf.py index 09e677b..e72874b 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -40,18 +40,18 @@ 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 @@ ( master_doc, "AdafruitAS726xLibrary.tex", - u"AdafruitAS726x Library Documentation", + "AdafruitAS726x Library Documentation", author, "manual", ), @@ -149,7 +149,7 @@ ( master_doc, "AdafruitAS726xlibrary", - u"Adafruit AS726x Library Documentation", + "Adafruit AS726x Library Documentation", [author], 1, ) @@ -164,7 +164,7 @@ ( master_doc, "AdafruitAS726xLibrary", - u"Adafruit AS726x Library Documentation", + "Adafruit AS726x Library Documentation", author, "AdafruitAS726xLibrary", "One line description of project.",