Skip to content

Commit 69fdf47

Browse files
authored
Merge pull request #1 from hugodahl/feature/Fix-GitHub-action-issues
Fix GitHub actions issues
2 parents ee81a0f + 6efb0e9 commit 69fdf47

File tree

4 files changed

+3
-5
lines changed

4 files changed

+3
-5
lines changed

.github/workflows/build.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ jobs:
2222
awk -F '\/' '{ print tolower($2) }' |
2323
tr '_' '-'
2424
)
25-
- name: Set up Python 3.6
25+
- name: Set up Python 3.7
2626
uses: actions/setup-python@v1
2727
with:
28-
python-version: 3.6
28+
python-version: 3.7
2929
- name: Versions
3030
run: |
3131
python3 --version

adafruit_ble_lywsd03mmc.py

-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
import struct
2626

2727
import _bleio
28-
from adafruit_ble.attributes import Attribute
2928
from adafruit_ble.services import Service
3029
from adafruit_ble.uuid import VendorUUID
3130
from adafruit_ble.characteristics import Characteristic, ComplexCharacteristic

docs/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
# Uncomment the below if you use native CircuitPython modules such as
2626
# digitalio, micropython and busio. List the modules you use. Without it, the
2727
# autodoc module docs will fail to generate with a warning.
28-
# autodoc_mock_imports = ["digitalio", "busio"]
28+
autodoc_mock_imports = ["bleak", "digitalio", "busio"]
2929

3030

3131
intersphinx_mapping = {

examples/ble_lywsd03mmc_simpletest.py

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
import adafruit_ble
88
from adafruit_ble.advertising.standard import (
99
Advertisement,
10-
ProvideServicesAdvertisement,
1110
)
1211
from adafruit_ble_lywsd03mmc import LYWSD03MMCService
1312

0 commit comments

Comments
 (0)