Skip to content

Black reformatting with Python 3 target. #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 10, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion adafruit_vcnl4040.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
16 changes: 8 additions & 8 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -155,7 +155,7 @@
(
master_doc,
"AdafruitVCNL4040Library.tex",
u"AdafruitVCNL4040 Library Documentation",
"AdafruitVCNL4040 Library Documentation",
author,
"manual",
),
Expand All @@ -169,7 +169,7 @@
(
master_doc,
"AdafruitVCNL4040library",
u"Adafruit VCNL4040 Library Documentation",
"Adafruit VCNL4040 Library Documentation",
[author],
1,
)
Expand All @@ -184,7 +184,7 @@
(
master_doc,
"AdafruitVCNL4040Library",
u"Adafruit VCNL4040 Library Documentation",
"Adafruit VCNL4040 Library Documentation",
author,
"AdafruitVCNL4040Library",
"One line description of project.",
Expand Down