From 227dc0246b31111855dd2a4add94dcf958cbb897 Mon Sep 17 00:00:00 2001 From: Kattni Rembor Date: Thu, 9 Apr 2020 17:04:49 -0400 Subject: [PATCH 1/2] Black reformatting with Python 3 target. --- adafruit_ble/services/midi.py | 2 +- docs/conf.py | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/adafruit_ble/services/midi.py b/adafruit_ble/services/midi.py index df71fc9..a7c5067 100644 --- a/adafruit_ble/services/midi.py +++ b/adafruit_ble/services/midi.py @@ -49,7 +49,7 @@ def __init__(self, **kwargs): | Characteristic.WRITE | Characteristic.WRITE_NO_RESPONSE ), - **kwargs + **kwargs, ) diff --git a/docs/conf.py b/docs/conf.py index 11efb99..a53c84f 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -39,18 +39,18 @@ master_doc = "index" # General information about the project. -project = u"Adafruit ble Library" -copyright = u"2019 Dan Halbert for Adafruit Industries" -author = u"Dan Halbert" +project = "Adafruit ble Library" +copyright = "2019 Dan Halbert for Adafruit Industries" +author = "Dan Halbert" # 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. @@ -141,7 +141,7 @@ ( master_doc, "AdafruitbleLibrary.tex", - u"Adafruit BLE Library Documentation", + "Adafruit BLE Library Documentation", author, "manual", ), @@ -155,7 +155,7 @@ ( master_doc, "Adafruitblelibrary", - u"Adafruit BLE Library Documentation", + "Adafruit BLE Library Documentation", [author], 1, ) @@ -170,7 +170,7 @@ ( master_doc, "AdafruitbleLibrary", - u"Adafruit BLE Library Documentation", + "Adafruit BLE Library Documentation", author, "AdafruitbleLibrary", "One line description of project.", From c6e8cc0f8b3ff11581345c72f6d78a8054a66609 Mon Sep 17 00:00:00 2001 From: Dan Halbert Date: Thu, 9 Apr 2020 21:37:59 -0400 Subject: [PATCH 2/2] Fixi capitalization in conf.py --- docs/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index a53c84f..e5db6f7 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -39,7 +39,7 @@ master_doc = "index" # General information about the project. -project = "Adafruit ble Library" +project = "Adafruit BLE Library" copyright = "2019 Dan Halbert for Adafruit Industries" author = "Dan Halbert"