Disable too-many-* (#4107)
* Disable too-many-* and too-few-public-methods * Remove globally disabled pylint warnings
This commit is contained in:
1 parent
b910a9917d
commit
be272ac64a
298 files changed
+271
-570
No files matched your search
@@ -84,7 +84,7 @@ def update_and_define_min_max(config, minimum_default,
|
||||
return minimum_value, maximum_value
|
||||
|
||||
|
||||
class KNXSensorBaseClass(): # pylint: disable=too-few-public-methods
|
||||
class KNXSensorBaseClass():
|
||||
"""Sensor Base Class for all KNX Sensors."""
|
||||
|
||||
_unit_of_measurement = None
|
||||
@@ -107,7 +107,6 @@ class KNXSensorFloatClass(KNXGroupAddress, KNXSensorBaseClass):
|
||||
Defined in KNX 3.7.2 - 3.10
|
||||
"""
|
||||
|
||||
# pylint: disable=too-many-arguments
|
||||
def __init__(self, hass, config, unit_of_measurement, minimum_sensor_value,
|
||||
maximum_sensor_value):
|
||||
"""Initialize a KNX Float Sensor."""
|
||||
|
||||
Reference in new issue
Block a user