Skip to content

Commit

Permalink
Merge pull request #19 from adafruit/black-update
Browse files Browse the repository at this point in the history
Black reformatting with Python 3 target.
  • Loading branch information
dhalbert committed Apr 10, 2020
2 parents 950b47d + 6041285 commit 2505ceb
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 11 deletions.
12 changes: 9 additions & 3 deletions adafruit_max31865.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,15 @@ class MAX31865:
_BUFFER = bytearray(3)

def __init__(
self, spi, cs, *, rtd_nominal=100, ref_resistor=430.0,
wires=2, filter_frequency=60
):
self,
spi,
cs,
*,
rtd_nominal=100,
ref_resistor=430.0,
wires=2,
filter_frequency=60
):
self.rtd_nominal = rtd_nominal
self.ref_resistor = ref_resistor
self._device = spi_device.SPIDevice(
Expand Down
16 changes: 8 additions & 8 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,18 +40,18 @@
master_doc = "index"

# General information about the project.
project = u"Adafruit MAX31865 Library"
copyright = u"2017 Tony DiCola"
author = u"Tony DiCola"
project = "Adafruit MAX31865 Library"
copyright = "2017 Tony DiCola"
author = "Tony DiCola"

# 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 @@ -141,7 +141,7 @@
(
master_doc,
"AdafruitMAX31865Library.tex",
u"Adafruit MAX31865 Library Documentation",
"Adafruit MAX31865 Library Documentation",
author,
"manual",
),
Expand All @@ -155,7 +155,7 @@
(
master_doc,
"adafruitMAX31865library",
u"Adafruit MAX31865 Library Documentation",
"Adafruit MAX31865 Library Documentation",
[author],
1,
)
Expand All @@ -170,7 +170,7 @@
(
master_doc,
"AdafruitMAX31865Library",
u"Adafruit MAX31865 Library Documentation",
"Adafruit MAX31865 Library Documentation",
author,
"AdafruitMAX31865Library",
"One line description of project.",
Expand Down

0 comments on commit 2505ceb

Please sign in to comment.