Skip to content

Commit 572d21a

Browse files
committed
lint sparkles
1 parent 767e8e3 commit 572d21a

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

adafruit_mpl115a2.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@
5050
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_MPL115A2.git"
5151

5252
# pylint: disable=bad-whitespace
53-
_MPL115A2_ADDRESS = (0x60)
54-
_MPL115A2_REGISTER_PRESSURE_MSB = (0x00)
55-
_MPL115A2_REGISTER_A0_COEFF_MSB = (0x04)
56-
_MPL115A2_REGISTER_STARTCONVERSION = (0x12)
53+
_MPL115A2_ADDRESS = const(0x60)
54+
_MPL115A2_REGISTER_PRESSURE_MSB = const(0x00)
55+
_MPL115A2_REGISTER_A0_COEFF_MSB = const(0x04)
56+
_MPL115A2_REGISTER_STARTCONVERSION = const(0x12)
5757
# pylint: enable=bad-whitespace
5858

5959
class MPL115A2:

examples/mpl115a2_simpletest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99

1010
while True:
1111
print("Pressure: {} Temperature: {}".format(mpl.pressure, mpl.temperature))
12-
time.sleep(1)
12+
time.sleep(1)

0 commit comments

Comments
 (0)