Skip to content

remove bad-whitespace pylint directive #61

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 3 commits into from
Aug 26, 2020
Merged
Show file tree
Hide file tree
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_lis3dh.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_LIS3DH.git"

# Register addresses:
# pylint: disable=bad-whitespace
_REG_OUTADC1_L = const(0x08)
_REG_WHOAMI = const(0x0F)
_REG_TEMPCFG = const(0x1F)
Expand Down Expand Up @@ -78,7 +77,6 @@

# Other constants
STANDARD_GRAVITY = 9.806
# pylint: enable=bad-whitespace

# the named tuple returned by the class
AccelerationTuple = namedtuple("acceleration", ("x", "y", "z"))
Expand Down
2 changes: 1 addition & 1 deletion examples/lis3dh_spinner.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@

from micropython import const

import adafruit_lis3dh
import neopixel
import adafruit_lis3dh

# Configuration:
ACCEL_RANGE = adafruit_lis3dh.RANGE_16_G # Accelerometer range.
Expand Down
2 changes: 1 addition & 1 deletion examples/lis3dh_spinner_advanced.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@

from micropython import const

import adafruit_lis3dh
import neopixel
import adafruit_lis3dh

# Configuration:
ACCEL_RANGE = adafruit_lis3dh.RANGE_16_G # Accelerometer range.
Expand Down