diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3baf502..55ff87e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,10 +22,10 @@ jobs: awk -F '\/' '{ print tolower($2) }' | tr '_' '-' ) - - name: Set up Python 3.6 + - name: Set up Python 3.7 uses: actions/setup-python@v1 with: - python-version: 3.6 + python-version: 3.7 - name: Versions run: | python3 --version diff --git a/adafruit_ble_lywsd03mmc.py b/adafruit_ble_lywsd03mmc.py index f47b1c3..dc653dc 100644 --- a/adafruit_ble_lywsd03mmc.py +++ b/adafruit_ble_lywsd03mmc.py @@ -25,7 +25,6 @@ import struct import _bleio -from adafruit_ble.attributes import Attribute from adafruit_ble.services import Service from adafruit_ble.uuid import VendorUUID from adafruit_ble.characteristics import Characteristic, ComplexCharacteristic diff --git a/docs/conf.py b/docs/conf.py index 6a5f588..226c901 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -25,7 +25,7 @@ # Uncomment the below if you use native CircuitPython modules such as # digitalio, micropython and busio. List the modules you use. Without it, the # autodoc module docs will fail to generate with a warning. -# autodoc_mock_imports = ["digitalio", "busio"] +autodoc_mock_imports = ["bleak", "digitalio", "busio"] intersphinx_mapping = { diff --git a/examples/ble_lywsd03mmc_simpletest.py b/examples/ble_lywsd03mmc_simpletest.py index 1c8d6d5..792dba9 100644 --- a/examples/ble_lywsd03mmc_simpletest.py +++ b/examples/ble_lywsd03mmc_simpletest.py @@ -7,7 +7,6 @@ import adafruit_ble from adafruit_ble.advertising.standard import ( Advertisement, - ProvideServicesAdvertisement, ) from adafruit_ble_lywsd03mmc import LYWSD03MMCService