Skip to content

Commit

Permalink
Merge pull request #23 from jepler/remove-bad-whitespace-directive
Browse files Browse the repository at this point in the history
remove bad-whitespace pylint directive
  • Loading branch information
dhalbert authored Aug 23, 2020
2 parents 36d68e3 + 6f23d4b commit 4b49fd4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions adafruit_lsm9ds1.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@
from micropython import const

# Internal constants and register values:
# pylint: disable=bad-whitespace
_LSM9DS1_ADDRESS_ACCELGYRO = const(0x6B)
_LSM9DS1_ADDRESS_MAG = const(0x1E)
_LSM9DS1_XG_ID = const(0b01101000)
Expand Down Expand Up @@ -135,7 +134,6 @@
GYROSCALE_245DPS = 0b00 << 3 # +/- 245 degrees/s rotation
GYROSCALE_500DPS = 0b01 << 3 # +/- 500 degrees/s rotation
GYROSCALE_2000DPS = 0b11 << 3 # +/- 2000 degrees/s rotation
# pylint: enable=bad-whitespace


def _twos_comp(val, bits):
Expand Down

0 comments on commit 4b49fd4

Please sign in to comment.