Skip to content

Commit 41e2d27

Browse files
committed
make ruff happy
1 parent 259e729 commit 41e2d27

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

examples/mpl115a2_displayio_simpletest.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@
44
# SPDX-License-Identifier: MIT
55

66
import time
7+
78
import board
89
from adafruit_display_text.bitmap_label import Label
9-
from terminalio import FONT
1010
from displayio import Group
11+
from terminalio import FONT
12+
1113
import adafruit_mpl115a2
1214

1315
# Simple demo of using the built-in display.
@@ -37,6 +39,8 @@
3739
# begin main loop
3840
while True:
3941
# update the text of the label(s) to show the sensor readings
40-
display_output_label.text = f"Pressure: {mpl.pressure:.2f} hPa\nTemperature: {mpl.temperature:.2f} C"
42+
display_output_label.text = (
43+
f"Pressure: {mpl.pressure:.2f} hPa\nTemperature: {mpl.temperature:.2f} C"
44+
)
4145
# wait for a bit
4246
time.sleep(0.5)

0 commit comments

Comments
 (0)