Skip to content

Commit 2505ceb

Browse files
authored
Merge pull request #19 from adafruit/black-update
Black reformatting with Python 3 target.
2 parents 950b47d + 6041285 commit 2505ceb

File tree

2 files changed

+17
-11
lines changed

2 files changed

+17
-11
lines changed

adafruit_max31865.py

+9-3
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,15 @@ class MAX31865:
9797
_BUFFER = bytearray(3)
9898

9999
def __init__(
100-
self, spi, cs, *, rtd_nominal=100, ref_resistor=430.0,
101-
wires=2, filter_frequency=60
102-
):
100+
self,
101+
spi,
102+
cs,
103+
*,
104+
rtd_nominal=100,
105+
ref_resistor=430.0,
106+
wires=2,
107+
filter_frequency=60
108+
):
103109
self.rtd_nominal = rtd_nominal
104110
self.ref_resistor = ref_resistor
105111
self._device = spi_device.SPIDevice(

docs/conf.py

+8-8
Original file line numberDiff line numberDiff line change
@@ -40,18 +40,18 @@
4040
master_doc = "index"
4141

4242
# General information about the project.
43-
project = u"Adafruit MAX31865 Library"
44-
copyright = u"2017 Tony DiCola"
45-
author = u"Tony DiCola"
43+
project = "Adafruit MAX31865 Library"
44+
copyright = "2017 Tony DiCola"
45+
author = "Tony DiCola"
4646

4747
# The version info for the project you're documenting, acts as replacement for
4848
# |version| and |release|, also used in various other places throughout the
4949
# built documents.
5050
#
5151
# The short X.Y version.
52-
version = u"1.0"
52+
version = "1.0"
5353
# The full version, including alpha/beta/rc tags.
54-
release = u"1.0"
54+
release = "1.0"
5555

5656
# The language for content autogenerated by Sphinx. Refer to documentation
5757
# for a list of supported languages.
@@ -141,7 +141,7 @@
141141
(
142142
master_doc,
143143
"AdafruitMAX31865Library.tex",
144-
u"Adafruit MAX31865 Library Documentation",
144+
"Adafruit MAX31865 Library Documentation",
145145
author,
146146
"manual",
147147
),
@@ -155,7 +155,7 @@
155155
(
156156
master_doc,
157157
"adafruitMAX31865library",
158-
u"Adafruit MAX31865 Library Documentation",
158+
"Adafruit MAX31865 Library Documentation",
159159
[author],
160160
1,
161161
)
@@ -170,7 +170,7 @@
170170
(
171171
master_doc,
172172
"AdafruitMAX31865Library",
173-
u"Adafruit MAX31865 Library Documentation",
173+
"Adafruit MAX31865 Library Documentation",
174174
author,
175175
"AdafruitMAX31865Library",
176176
"One line description of project.",

0 commit comments

Comments
 (0)