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,6 @@ def setup_platform(hass, config, add_devices, discovery_info=None):
|
||||
add_devices([DeutscheBahnSensor(start, destination)])
|
||||
|
||||
|
||||
# pylint: disable=too-few-public-methods
|
||||
class DeutscheBahnSensor(Entity):
|
||||
"""Implementation of a Deutsche Bahn sensor."""
|
||||
|
||||
@@ -81,7 +80,6 @@ class DeutscheBahnSensor(Entity):
|
||||
self._state += " + {}".format(self.data.connections[0]['delay'])
|
||||
|
||||
|
||||
# pylint: disable=too-few-public-methods
|
||||
class SchieneData(object):
|
||||
"""Pull data from the bahn.de web page."""
|
||||
|
||||
|
||||
Reference in new issue
Block a user