Disable too-many-* (#4107)

* Disable too-many-* and too-few-public-methods

* Remove globally disabled pylint warnings
This commit is contained in:
Fabian Affolter authored and GitHub committed 2016-10-30 22:18:53 +01:00
1 parent b910a9917d
commit be272ac64a
298 files changed
+271 -570

No files matched your search

-2
View File
@@ -279,7 +279,6 @@ class RfxtrxDevice(Entity):
"""Represents a Rfxtrx device.
Contains the common logic for Rfxtrx lights and switches.
"""
def __init__(self, name, event, datas, signal_repetitions):
@@ -327,7 +326,6 @@ class RfxtrxDevice(Entity):
self.update_ha_state()
def _send_command(self, command, brightness=0):
# pylint: disable=too-many-return-statements,too-many-branches
if not self._event:
return