Black reformatting with Python 3 target.
This commit is contained in:
parent
d42628474e
commit
7ce1f8379d
3 changed files with 10 additions and 10 deletions
|
|
@ -106,5 +106,5 @@ class Segments:
|
|||
@brightness.setter
|
||||
def brightness(self, brightness):
|
||||
if not 0 <= brightness <= 15:
|
||||
raise ValueError('Brightness must be a value between 0 and 15')
|
||||
raise ValueError("Brightness must be a value between 0 and 15")
|
||||
self._segments.brightness = brightness / 15
|
||||
|
|
|
|||
|
|
@ -179,5 +179,5 @@ class MatrixFeatherWing:
|
|||
@brightness.setter
|
||||
def brightness(self, brightness):
|
||||
if not 0 <= brightness <= 15:
|
||||
raise ValueError('Brightness must be a value between 0 and 15')
|
||||
raise ValueError("Brightness must be a value between 0 and 15")
|
||||
self._matrix.brightness = brightness / 15
|
||||
|
|
|
|||
16
docs/conf.py
16
docs/conf.py
|
|
@ -43,18 +43,18 @@ source_suffix = ".rst"
|
|||
master_doc = "index"
|
||||
|
||||
# General information about the project.
|
||||
project = u"Adafruit FeatherWing Library"
|
||||
copyright = u"2017 Scott Shawcroft"
|
||||
author = u"Scott Shawcroft"
|
||||
project = "Adafruit FeatherWing Library"
|
||||
copyright = "2017 Scott Shawcroft"
|
||||
author = "Scott Shawcroft"
|
||||
|
||||
# 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.
|
||||
|
|
@ -144,7 +144,7 @@ latex_documents = [
|
|||
(
|
||||
master_doc,
|
||||
"AdafruitfeatherwingLibrary.tex",
|
||||
u"Adafruitfeatherwing Library Documentation",
|
||||
"Adafruitfeatherwing Library Documentation",
|
||||
author,
|
||||
"manual",
|
||||
),
|
||||
|
|
@ -158,7 +158,7 @@ man_pages = [
|
|||
(
|
||||
master_doc,
|
||||
"Adafruitfeatherwinglibrary",
|
||||
u"Adafruit featherwing Library Documentation",
|
||||
"Adafruit featherwing Library Documentation",
|
||||
[author],
|
||||
1,
|
||||
)
|
||||
|
|
@ -173,7 +173,7 @@ texinfo_documents = [
|
|||
(
|
||||
master_doc,
|
||||
"AdafruitfeatherwingLibrary",
|
||||
u"Adafruit featherwing Library Documentation",
|
||||
"Adafruit featherwing Library Documentation",
|
||||
author,
|
||||
"AdafruitfeatherwingLibrary",
|
||||
"One line description of project.",
|
||||
|
|
|
|||
Loading…
Reference in a new issue