1
0
mirror of https://github.com/cmur2/python-bme280.git synced 2024-06-02 06:34:41 +02:00

module: adopt poetry dependency manager

This commit is contained in:
cn 2020-08-04 20:36:35 +02:00
parent 0aaab88bd9
commit b13c7cde31

View File

@ -52,7 +52,7 @@ FILTER_4 = 0x02
FILTER_8 = 0x03 FILTER_8 = 0x03
FILTER_16 = 0x04 # and all higher FILTER_16 = 0x04 # and all higher
class Bme280(object): # pylint: disable=useless-object-inheritance class Bme280(object): # pylint: disable=bad-option-value,useless-object-inheritance
def __init__(self, i2c_bus=1, sensor_address=ADDR): def __init__(self, i2c_bus=1, sensor_address=ADDR):
self.bus = smbus.SMBus(i2c_bus) self.bus = smbus.SMBus(i2c_bus)