Skip to content

Commit 439e6d8

Browse files
authored
Merge pull request #45 from adafruit/patch-fix
Linted
2 parents f439d70 + 948e4a6 commit 439e6d8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ repos:
2424
name: pylint (library code)
2525
types: [python]
2626
args:
27-
- --disable=consider-using-f-string
27+
- --disable=consider-using-f-string,duplicate-code
2828
exclude: "^(docs/|examples/|tests/|setup.py$)"
2929
- id: pylint
3030
name: pylint (example code)

adafruit_lsm6ds/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
from time import sleep
5959
from math import radians
6060
from micropython import const
61-
import adafruit_bus_device.i2c_device as i2c_device
61+
from adafruit_bus_device import i2c_device
6262

6363
from adafruit_register.i2c_struct import ROUnaryStruct, Struct
6464
from adafruit_register.i2c_bits import RWBits

0 commit comments

Comments
 (0)