File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -171,7 +171,6 @@ class Adafruit_BMP280_I2C(Adafruit_BMP280): # pylint: disable=invalid-name
171
171
"""Driver for I2C connected BMP280. Default address is 0x77 but another address can be passed
172
172
in as an argument"""
173
173
def __init__ (self , i2c , address = 0x77 ):
174
- # pylint: disable=useless-import-alias
175
174
import adafruit_bus_device .i2c_device as i2c_device
176
175
self ._i2c = i2c_device .I2CDevice (i2c , address )
177
176
super ().__init__ ()
@@ -195,7 +194,6 @@ class Adafruit_BMP280_SPI(Adafruit_BMP280):
195
194
"""Driver for SPI connected BMP280. Default clock rate is 100000 but can be changed with
196
195
'baudrate'"""
197
196
def __init__ (self , spi , cs , baudrate = 100000 ):
198
- # pylint: disable=useless-import-alias
199
197
import adafruit_bus_device .spi_device as spi_device
200
198
self ._spi = spi_device .SPIDevice (spi , cs , baudrate = baudrate )
201
199
super ().__init__ ()
You can’t perform that action at this time.
0 commit comments