Skip to content

Black reformatting with Python 3 target. #7

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 2 commits 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
8 changes: 4 additions & 4 deletions adafruit_ble_heart_rate.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,20 +58,20 @@
)
"""Namedtuple for measurement values.

.. py:attribute:: HeartRateMeasurementValues.heart_rate
.. :attribute:: heart_rate:

Heart rate (int), in beats per minute.

.. py:attribute:: HeartRateMeasurementValues.contact
.. :attribute:: contact:

``True`` if device is contacting the body, ``False`` if not,
``None`` if device does not support contact detection.

.. py:attribute:: HeartRateMeasurementValues.energy_expended
.. :attribute:: energy_expended:

Energy expended (int), in kilo joules, or ``None`` if no value.

.. py:attribute:: HeartRateMeasurementValues.rr_intervals
.. :attribute:: rr_intervals:

Sequence of RR intervals, measuring the time between
beats. Oldest first, in ints that are units of 1024ths of a second.
Expand Down
16 changes: 8 additions & 8 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,18 +38,18 @@
master_doc = "index"

# General information about the project.
project = u"Adafruit BLE_Heart_Rate Library"
copyright = u"2020 Adafruit Industries"
author = u"Adafruit Industries"
project = "Adafruit BLE_Heart_Rate Library"
copyright = "2020 Adafruit Industries"
author = "Adafruit Industries"

# 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 @@ -140,7 +140,7 @@
(
master_doc,
"AdafruitBLE_Heart_RateLibrary.tex",
u"AdafruitBLE_Heart_Rate Library Documentation",
"AdafruitBLE_Heart_Rate Library Documentation",
author,
"manual",
),
Expand All @@ -154,7 +154,7 @@
(
master_doc,
"AdafruitBLE_Heart_Ratelibrary",
u"Adafruit BLE_Heart_Rate Library Documentation",
"Adafruit BLE_Heart_Rate Library Documentation",
[author],
1,
)
Expand All @@ -169,7 +169,7 @@
(
master_doc,
"AdafruitBLE_Heart_RateLibrary",
u"Adafruit BLE_Heart_Rate Library Documentation",
"Adafruit BLE_Heart_Rate Library Documentation",
author,
"AdafruitBLE_Heart_RateLibrary",
"One line description of project.",
Expand Down