From c79d3c0480fe35fa23e05850b4a0e6ece7df98af Mon Sep 17 00:00:00 2001 From: foamyguy Date: Thu, 4 Mar 2021 07:32:16 -0600 Subject: [PATCH] pylintrc ignore imports. run black format --- .pylintrc | 2 +- adafruit_lsm6ds/__init__.py | 4 ++-- adafruit_lsm6ds/ism330dhcx.py | 4 ++-- adafruit_lsm6ds/lsm6ds33.py | 4 ++-- adafruit_lsm6ds/lsm6dso32.py | 4 ++-- adafruit_lsm6ds/lsm6dsox.py | 4 ++-- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.pylintrc b/.pylintrc index 54a9d35..3c07cc6 100644 --- a/.pylintrc +++ b/.pylintrc @@ -250,7 +250,7 @@ ignore-comments=yes ignore-docstrings=yes # Ignore imports when computing similarities. -ignore-imports=no +ignore-imports=yes # Minimum lines number of a similarity. min-similarity-lines=4 diff --git a/adafruit_lsm6ds/__init__.py b/adafruit_lsm6ds/__init__.py index c475021..d91bf5e 100644 --- a/adafruit_lsm6ds/__init__.py +++ b/adafruit_lsm6ds/__init__.py @@ -163,8 +163,8 @@ class LSM6DS: # pylint: disable=too-many-instance-attributes """Driver for the LSM6DSOX 6-axis accelerometer and gyroscope. - :param ~busio.I2C i2c_bus: The I2C bus the LSM6DSOX is connected to. - :param address: The I2C slave address of the sensor + :param ~busio.I2C i2c_bus: The I2C bus the LSM6DSOX is connected to. + :param address: The I2C slave address of the sensor """ diff --git a/adafruit_lsm6ds/ism330dhcx.py b/adafruit_lsm6ds/ism330dhcx.py index fb971ee..16b693b 100644 --- a/adafruit_lsm6ds/ism330dhcx.py +++ b/adafruit_lsm6ds/ism330dhcx.py @@ -14,8 +14,8 @@ class ISM330DHCX(LSM6DS): # pylint: disable=too-many-instance-attributes """Driver for the LSM6DS33 6-axis accelerometer and gyroscope. - :param ~busio.I2C i2c_bus: The I2C bus the LSM6DS33 is connected to. - :param address: The I2C slave address of the sensor + :param ~busio.I2C i2c_bus: The I2C bus the LSM6DS33 is connected to. + :param address: The I2C slave address of the sensor """ diff --git a/adafruit_lsm6ds/lsm6ds33.py b/adafruit_lsm6ds/lsm6ds33.py index dd97297..a0b73e0 100644 --- a/adafruit_lsm6ds/lsm6ds33.py +++ b/adafruit_lsm6ds/lsm6ds33.py @@ -11,8 +11,8 @@ class LSM6DS33(LSM6DS): # pylint: disable=too-many-instance-attributes """Driver for the LSM6DS33 6-axis accelerometer and gyroscope. - :param ~busio.I2C i2c_bus: The I2C bus the LSM6DS33 is connected to. - :param address: The I2C slave address of the sensor + :param ~busio.I2C i2c_bus: The I2C bus the LSM6DS33 is connected to. + :param address: The I2C slave address of the sensor """ diff --git a/adafruit_lsm6ds/lsm6dso32.py b/adafruit_lsm6ds/lsm6dso32.py index 655c120..c7798f4 100644 --- a/adafruit_lsm6ds/lsm6dso32.py +++ b/adafruit_lsm6ds/lsm6dso32.py @@ -11,8 +11,8 @@ class LSM6DSO32(LSM6DS): # pylint: disable=too-many-instance-attributes """Driver for the LSM6DSO32 6-axis accelerometer and gyroscope. - :param ~busio.I2C i2c_bus: The I2C bus the LSM6DSO32 is connected to. - :param address: The I2C slave address of the sensor + :param ~busio.I2C i2c_bus: The I2C bus the LSM6DSO32 is connected to. + :param address: The I2C slave address of the sensor """ diff --git a/adafruit_lsm6ds/lsm6dsox.py b/adafruit_lsm6ds/lsm6dsox.py index 093d856..d7f17dd 100644 --- a/adafruit_lsm6ds/lsm6dsox.py +++ b/adafruit_lsm6ds/lsm6dsox.py @@ -11,8 +11,8 @@ class LSM6DSOX(LSM6DS): # pylint: disable=too-many-instance-attributes """Driver for the LSM6DSOX 6-axis accelerometer and gyroscope. - :param ~busio.I2C i2c_bus: The I2C bus the LSM6DSOX is connected to. - :param address: The I2C slave address of the sensor + :param ~busio.I2C i2c_bus: The I2C bus the LSM6DSOX is connected to. + :param address: The I2C slave address of the sensor """