Skip to content

Commit c4385dd

Browse files
authored
Merge pull request #9 from jepler/remove-bad-whitespace-directive
remove bad-whitespace pylint directive
2 parents e1d7d94 + 773397e commit c4385dd

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

adafruit_lsm303_accel.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@
6060
__version__ = "0.0.0-auto.0"
6161
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_LSM303_Accel.git"
6262

63-
# pylint: disable=bad-whitespace
6463
_ADDRESS_ACCEL = const(0x19) # (0x32 >> 1) // 0011001x
6564
_ADDRESS_MAG = const(0x1E) # (0x3C >> 1) // 0011110x
6665
_ID = const(0xD4) # (0b11010100)
@@ -105,7 +104,7 @@
105104
_LSM303ACCEL_MG_LSB = 16704.0 # magic!
106105
_GRAVITY_STANDARD = 9.80665 # Earth's gravity in m/s^2
107106
_SMOLLER_GRAVITY = 0.00980665
108-
# pylint:disable=too-few-public-methods
107+
# pylint: disable=too-few-public-methods
109108
class Rate:
110109
"""Options for `data_rate`"""
111110

@@ -138,7 +137,7 @@ class Range:
138137
RANGE_16G = const(3)
139138

140139

141-
# pylint: enable=bad-whitespace,too-few-public-methods
140+
# pylint: enable=too-few-public-methods
142141

143142

144143
class LSM303_Accel: # pylint:disable=too-many-instance-attributes

0 commit comments

Comments
 (0)