Skip to content

Commit 72b82cb

Browse files
authored
Merge pull request #61 from jepler/remove-bad-whitespace-directive
remove bad-whitespace pylint directive
2 parents 9fe8f31 + c216a71 commit 72b82cb

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

adafruit_lis3dh.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_LIS3DH.git"
4343

4444
# Register addresses:
45-
# pylint: disable=bad-whitespace
4645
_REG_OUTADC1_L = const(0x08)
4746
_REG_WHOAMI = const(0x0F)
4847
_REG_TEMPCFG = const(0x1F)
@@ -78,7 +77,6 @@
7877

7978
# Other constants
8079
STANDARD_GRAVITY = 9.806
81-
# pylint: enable=bad-whitespace
8280

8381
# the named tuple returned by the class
8482
AccelerationTuple = namedtuple("acceleration", ("x", "y", "z"))

examples/lis3dh_spinner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515

1616
from micropython import const
1717

18-
import adafruit_lis3dh
1918
import neopixel
19+
import adafruit_lis3dh
2020

2121
# Configuration:
2222
ACCEL_RANGE = adafruit_lis3dh.RANGE_16_G # Accelerometer range.

examples/lis3dh_spinner_advanced.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222

2323
from micropython import const
2424

25-
import adafruit_lis3dh
2625
import neopixel
26+
import adafruit_lis3dh
2727

2828
# Configuration:
2929
ACCEL_RANGE = adafruit_lis3dh.RANGE_16_G # Accelerometer range.

0 commit comments

Comments
 (0)