Remove a bunch of unnecessary pylint disabling (#4079)

This commit is contained in:
Jesse Hills
2022-11-24 11:09:19 +13:00
committed by GitHub
parent 81b4078871
commit b184b01600
16 changed files with 24 additions and 54 deletions
@@ -24,7 +24,6 @@ AUTO_LOAD = ["modbus"]
MULTI_CONF = True
# pylint: disable=invalid-name
modbus_controller_ns = cg.esphome_ns.namespace("modbus_controller")
ModbusController = modbus_controller_ns.class_(
"ModbusController", cg.PollingComponent, modbus.ModbusDevice
-1
View File
@@ -14,7 +14,6 @@ from esphome.core import CORE, coroutine_with_priority
IS_PLATFORM_COMPONENT = True
# pylint: disable=invalid-name
stepper_ns = cg.esphome_ns.namespace("stepper")
Stepper = stepper_ns.class_("Stepper")
@@ -23,7 +23,6 @@ from esphome.util import Registry
IS_PLATFORM_COMPONENT = True
# pylint: disable=invalid-name
text_sensor_ns = cg.esphome_ns.namespace("text_sensor")
TextSensor = text_sensor_ns.class_("TextSensor", cg.EntityBase)
TextSensorPtr = TextSensor.operator("ptr")