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
@@ -104,7 +104,7 @@ class GlancesSensor(Entity):
|
||||
"""Return the unit the value is expressed in."""
|
||||
return self._unit_of_measurement
|
||||
|
||||
# pylint: disable=too-many-branches, too-many-return-statements
|
||||
# pylint: disable=too-many-return-statements
|
||||
@property
|
||||
def state(self):
|
||||
"""Return the state of the resources."""
|
||||
|
||||
Reference in new issue
Block a user