fix(lint): lint all the things; be more flexible in boards dir

This commit is contained in:
Josh Klar
2021-06-20 13:59:59 -07:00
parent 7400f43cf8
commit f79e508566
6 changed files with 291 additions and 57 deletions

View File

@@ -1,9 +1,10 @@
import usb_hid
from micropython import const
from kmk.keys import FIRST_KMK_INTERNAL_KEY, ConsumerKey, ModifierKey
from storage import getmount
from kmk.keys import FIRST_KMK_INTERNAL_KEY, ConsumerKey, ModifierKey
try:
from adafruit_ble import BLERadio
from adafruit_ble.advertising.standard import ProvideServicesAdvertisement
@@ -259,7 +260,7 @@ class BLEHID(AbstractHID):
@property
def devices(self):
'''Search through the provided list of devices to find the ones with the
send_report attribute.'''
send_report attribute.'''
if not self.ble.connected:
return []