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
@@ -37,7 +37,6 @@ def setup_platform(hass, config, add_devices_callback, discovery_info=None):
|
||||
class PilightSwitch(SwitchDevice):
|
||||
"""Representation of a pilight switch."""
|
||||
|
||||
# pylint: disable=too-many-arguments, too-many-instance-attributes
|
||||
def __init__(self, hass, name, code_on, code_off,
|
||||
code_on_receive, code_off_receive):
|
||||
"""Initialize the switch."""
|
||||
|
||||
Reference in new issue
Block a user