pylint - dsable protected-access erroo for name setting

This commit is contained in:
Jerry Needell 2019-12-01 11:35:11 -05:00
parent eb3d97b0e9
commit 20eb26c859

View file

@ -48,7 +48,9 @@ accelo = adafruit_lis3dh.LIS3DH_I2C(accelo_i2c, address=0x19)
ble = BLERadio() ble = BLERadio()
uart = UARTService() uart = UARTService()
advertisement = ProvideServicesAdvertisement(uart) advertisement = ProvideServicesAdvertisement(uart)
#pylint: disable=protected-access
ble._adapter.name = SNOWGLOBE_NAME ble._adapter.name = SNOWGLOBE_NAME
#pylint: enable=protected-access
#--| ANIMATIONS |---------------------------------------------------- #--| ANIMATIONS |----------------------------------------------------
def spin(config): def spin(config):