Skip to content

Commit d601a18

Browse files
authored
Merge pull request #10 from adafruit/black-update
Black reformatting with Python 3 target.
2 parents 685f3d6 + c59c04a commit d601a18

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

adafruit_vcnl4040.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ def light_integration_time(self):
240240

241241
@light_integration_time.setter
242242
def light_integration_time(self, new_it):
243-
from time import sleep # pylint: disable=import-outside-toplevel
243+
from time import sleep # pylint: disable=import-outside-toplevel
244244

245245
# IT values are in 0-3 -> 80-640ms
246246
old_it_ms = (8 << self._light_integration_time) * 10

docs/conf.py

+8-8
Original file line numberDiff line numberDiff line change
@@ -53,18 +53,18 @@
5353
master_doc = "index"
5454

5555
# General information about the project.
56-
project = u"Adafruit VCNL4040 Library"
57-
copyright = u"2019 Kattni Rembor"
58-
author = u"Kattni Rembor"
56+
project = "Adafruit VCNL4040 Library"
57+
copyright = "2019 Kattni Rembor"
58+
author = "Kattni Rembor"
5959

6060
# The version info for the project you're documenting, acts as replacement for
6161
# |version| and |release|, also used in various other places throughout the
6262
# built documents.
6363
#
6464
# The short X.Y version.
65-
version = u"1.0"
65+
version = "1.0"
6666
# The full version, including alpha/beta/rc tags.
67-
release = u"1.0"
67+
release = "1.0"
6868

6969
# The language for content autogenerated by Sphinx. Refer to documentation
7070
# for a list of supported languages.
@@ -155,7 +155,7 @@
155155
(
156156
master_doc,
157157
"AdafruitVCNL4040Library.tex",
158-
u"AdafruitVCNL4040 Library Documentation",
158+
"AdafruitVCNL4040 Library Documentation",
159159
author,
160160
"manual",
161161
),
@@ -169,7 +169,7 @@
169169
(
170170
master_doc,
171171
"AdafruitVCNL4040library",
172-
u"Adafruit VCNL4040 Library Documentation",
172+
"Adafruit VCNL4040 Library Documentation",
173173
[author],
174174
1,
175175
)
@@ -184,7 +184,7 @@
184184
(
185185
master_doc,
186186
"AdafruitVCNL4040Library",
187-
u"Adafruit VCNL4040 Library Documentation",
187+
"Adafruit VCNL4040 Library Documentation",
188188
author,
189189
"AdafruitVCNL4040Library",
190190
"One line description of project.",

0 commit comments

Comments
 (0)