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
@@ -40,7 +40,7 @@ def setup_platform(hass, config, add_devices, discovery_info=None):
|
||||
class LastfmSensor(Entity):
|
||||
"""A class for the Last.fm account."""
|
||||
|
||||
# pylint: disable=abstract-method, too-many-instance-attributes
|
||||
# pylint: disable=abstract-method
|
||||
def __init__(self, user, lastfm):
|
||||
"""Initialize the sensor."""
|
||||
self._user = lastfm.get_user(user)
|
||||
|
||||
Reference in new issue
Block a user