From c59c04a205423ed3948c5dd4036055ed17dc9eda Mon Sep 17 00:00:00 2001 From: Kattni Rembor Date: Thu, 9 Apr 2020 16:01:46 -0400 Subject: [PATCH] Black reformatting with Python 3 target. --- adafruit_vcnl4040.py | 2 +- docs/conf.py | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/adafruit_vcnl4040.py b/adafruit_vcnl4040.py index f6d6b64..9d8d469 100644 --- a/adafruit_vcnl4040.py +++ b/adafruit_vcnl4040.py @@ -240,7 +240,7 @@ def light_integration_time(self): @light_integration_time.setter def light_integration_time(self, new_it): - from time import sleep # pylint: disable=import-outside-toplevel + from time import sleep # pylint: disable=import-outside-toplevel # IT values are in 0-3 -> 80-640ms old_it_ms = (8 << self._light_integration_time) * 10 diff --git a/docs/conf.py b/docs/conf.py index 7227bd9..87d2928 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -53,18 +53,18 @@ master_doc = "index" # General information about the project. -project = u"Adafruit VCNL4040 Library" -copyright = u"2019 Kattni Rembor" -author = u"Kattni Rembor" +project = "Adafruit VCNL4040 Library" +copyright = "2019 Kattni Rembor" +author = "Kattni Rembor" # 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. @@ -155,7 +155,7 @@ ( master_doc, "AdafruitVCNL4040Library.tex", - u"AdafruitVCNL4040 Library Documentation", + "AdafruitVCNL4040 Library Documentation", author, "manual", ), @@ -169,7 +169,7 @@ ( master_doc, "AdafruitVCNL4040library", - u"Adafruit VCNL4040 Library Documentation", + "Adafruit VCNL4040 Library Documentation", [author], 1, ) @@ -184,7 +184,7 @@ ( master_doc, "AdafruitVCNL4040Library", - u"Adafruit VCNL4040 Library Documentation", + "Adafruit VCNL4040 Library Documentation", author, "AdafruitVCNL4040Library", "One line description of project.",