1
0
mirror of https://github.com/cmur2/python-bme280.git synced 2025-06-26 12:30:20 +02:00

module: adopt poetry dependency manager

This commit is contained in:
cn
2020-08-04 20:20:03 +02:00
parent 931f5ff229
commit e36c38d950
6 changed files with 30 additions and 44 deletions

View File

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