Skip to content

Commit cfdca44

Browse files
committed
Linting.
1 parent 5b23e85 commit cfdca44

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

adafruit_circuitplayground/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,10 @@
2020
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2121
# THE SOFTWARE.
2222

23+
"""Verifies which board is being used and imports the appropriate module."""
24+
2325
import sys
2426
if sys.platform == 'nRF52840':
2527
from .bluefruit import cpb as cp
2628
elif sys.platform == 'Atmel SAMD21':
27-
from .express import cpx as cp
29+
from .express import cpx as cp

examples/circuitplayground_ir_receive.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
try:
1616
pulsein = pulseio.PulseIn(board.IR_RX, maxlen=120, idle_state=True)
1717
except AttributeError:
18-
raise NotImplemented("This example does not work with Circuit Playground Bluefruti!")
18+
raise NotImplementedError("This example does not work with Circuit Playground Bluefruti!")
1919
# Create a decoder that will take pulses and turn them into numbers
2020
decoder = adafruit_irremote.GenericDecode()
2121

0 commit comments

Comments
 (0)