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

module: adopt poetry dependency manager

This commit is contained in:
cn
2020-08-07 22:39:32 +02:00
parent d279417b81
commit 1b3fc8f2df
7 changed files with 31 additions and 45 deletions

View File

@ -31,7 +31,7 @@ NORMALIZED_REFRESHTIME = 0.1
# normalized to the NORMALIZED_REFRESHTIME, for RSET_240K and INTEGRATIONTIME_1T
NORMALIZED_UVA_SENSITIVITY = 0.05
class Veml6070(object):
class Veml6070(object): # pylint: disable=bad-option-value,useless-object-inheritance
def __init__(self, i2c_bus=1, sensor_address=ADDR_L, rset=RSET_270K, integration_time=INTEGRATIONTIME_1T):
self.bus = smbus.SMBus(i2c_bus)