Skip to content

Commit a166fbc

Browse files
authored
Add linting issues
1 parent 16bd44e commit a166fbc

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

adafruit_ble_beacon.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
import struct
2626
from micropython import const
2727
import _bleio
28+
import time
2829
from adafruit_ble.advertising import Advertisement, AdvertisingDataField
2930

3031
try:
@@ -66,6 +67,11 @@ def __set__(self, obj: "Advertisement", value: Sequence) -> None:
6667
class _BeaconAdvertisement(Advertisement):
6768
"""Advertisement for location beacons like iBeacon"""
6869

70+
71+
72+
73+
74+
6975
path_loss_const: float = 3
7076
"""The path loss constant, typically between 2-4"""
7177

@@ -89,7 +95,7 @@ def beacon_tx_power(self) -> int:
8995
raise NotImplementedError("Must be implemented in beacon subclass")
9096

9197
@beacon_tx_power.setter
92-
def beacon_tx_power(self, power: int) -> None:
98+
def beacon_tx_power(self, power: int, thing: int) -> None:
9399
raise NotImplementedError("Must be implemented in beacon subclass")
94100

95101

0 commit comments

Comments
 (0)