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
@@ -93,9 +93,9 @@ def setup(hass, base_config):
|
||||
return True
|
||||
|
||||
|
||||
# pylint: disable=too-many-return-statements
|
||||
def map_vera_device(vera_device, remap):
|
||||
"""Map vera classes to HA types."""
|
||||
# pylint: disable=too-many-return-statements
|
||||
import pyvera as veraApi
|
||||
if isinstance(vera_device, veraApi.VeraDimmer):
|
||||
return 'light'
|
||||
|
||||
Reference in new issue
Block a user