Skip to content

Commit

Permalink
Merge pull request #58 from adafruit/pylint-fix
Browse files Browse the repository at this point in the history
Fixed linting
  • Loading branch information
tekktrik authored Nov 10, 2022
2 parents 21ab0dd + 45fd001 commit 6db1b1a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion adafruit_lsm6ds/lsm6dso32.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ def __init__(self, i2c_bus: I2C, address: int = LSM6DS_DEFAULT_ADDRESS) -> None:
self._i3c_disable = True
self.accelerometer_range = AccelRange.RANGE_8G # pylint:disable=no-member

def _add_accel_ranges(self) -> None:
@staticmethod
def _add_accel_ranges() -> None:
AccelRange.add_values(
(
("RANGE_4G", 0, 4, 0.122),
Expand Down

0 comments on commit 6db1b1a

Please sign in to comment.