Skip to content

Commit 53365fc

Browse files
authored
Merge pull request #1 from tannewt/lint
Lint
2 parents 126987c + 5da5d19 commit 53365fc

File tree

5 files changed

+4
-5
lines changed

5 files changed

+4
-5
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
sudo apt-get install -y gettext
3434
pip install -r requirements.txt
3535
pip install circuitpython-build-tools Sphinx sphinx-rtd-theme
36-
pip install --force-reinstall pylint==1.9.2
36+
pip install --force-reinstall "pylint<3"
3737
- name: Library version
3838
run: git describe --dirty --always --tags
3939
- name: PyLint

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Introduction
1414
:alt: Build Status
1515

1616
BLE service for Magic Light BLE RGB bulbs. Available from Amazon
17-
[here](https://www.amazon.com/gp/product/B073S1KV4F).
17+
`here <https://www.amazon.com/gp/product/B073S1KV4F>`_.
1818

1919

2020
Dependencies

adafruit_ble_magic_light.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
2929
"""
3030

31-
from adafruit_ble.service import Service
31+
from adafruit_ble.services import Service
3232
from adafruit_ble.uuid import VendorUUID
3333
from adafruit_ble.characteristics import Characteristic
3434

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
# Uncomment the below if you use native CircuitPython modules such as
2121
# digitalio, micropython and busio. List the modules you use. Without it, the
2222
# autodoc module docs will fail to generate with a warning.
23-
# autodoc_mock_imports = ["digitalio", "busio"]
23+
autodoc_mock_imports = ["adafruit_ble"]
2424

2525

2626
intersphinx_mapping = {'python': ('https://docs.python.org/3.4', None),'CircuitPython': ('https://circuitpython.readthedocs.io/en/latest/', None)}

requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
Adafruit-Blinka
2-
adafruit-circuitpython-ble

0 commit comments

Comments
 (0)