Skip to content

remove bad-whitespace pylint directive #20

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 23, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions adafruit_lsm9ds0.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_LSM9DS0.git"

# Internal constants and register values:
# pylint: disable=bad-whitespace
_LSM9DS0_ADDRESS_ACCELMAG = const(0x1D) # 3B >> 1 = 7bit default
_LSM9DS0_ADDRESS_GYRO = const(0x6B) # D6 >> 1 = 7bit default
_LSM9DS0_XM_ID = const(0b01001001)
Expand Down Expand Up @@ -131,7 +130,6 @@
GYROSCALE_245DPS = 0b00 << 4 # +/- 245 degrees per second rotation
GYROSCALE_500DPS = 0b01 << 4 # +/- 500 degrees per second rotation
GYROSCALE_2000DPS = 0b10 << 4 # +/- 2000 degrees per second rotation
# pylint: enable=bad-whitespace


def _twos_comp(val, bits):
Expand Down