Skip to content

Commit a646296

Browse files
committed
fix import indent level
1 parent ac3a61b commit a646296

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/microcontroller/__init__.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,10 @@ def delay_us(delay):
150150
from adafruit_blinka.microcontroller.thead.th1520 import *
151151
elif chip_id == ap_chip.GENERIC_X86:
152152
print("WARNING: GENERIC_X86 is not fully supported. Some features may not work.")
153-
elif "BLINKA_FORCECHIP" in os.environ and os.environ["BLINKA_FORCEBOARD"] == "GENERIC_AGNOSTIC_BOARD":
153+
elif (
154+
"BLINKA_FORCECHIP" in os.environ
155+
and os.environ["BLINKA_FORCEBOARD"] == "GENERIC_AGNOSTIC_BOARD"
156+
):
154157
from adafruit_blinka.microcontroller.generic_agnostic_board import *
155158
elif chip_id is None:
156159
print(

tests/test_generic_agnostic_board_digitalio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-FileCopyrightText: 2024 Brent Rubell for Adafruit Industries
22
#
33
# SPDX-License-Identifier: MIT
4-
import pytest
4+
import pytest # pylint: disable=unused-import
55
import board
66
import digitalio
77

0 commit comments

Comments
 (0)