Closed
Description
************* Module adafruit_bno055
adafruit_bno055.py:137:8: R1725: Consider using Python 3 style super() without arguments (super-with-arguments)
adafruit_bno055.py:141:17: R1725: Consider using Python 3 style super() without arguments (super-with-arguments)
Here are the 2 methods that are failing:
Method 1
136 def __init__(self, register_address, struct_format, scale):
137 super(_ScaledReadOnlyStruct, self).__init__(register_address, struct_format)
138 self.scale = scale
140 def __get__(self, obj, objtype=None):
141 result = super(_ScaledReadOnlyStruct, self).__get__(obj, objtype)
142 return tuple(self.scale * v for v in result)
Should I remove the arguments and then try getting it to work that way or should I just add a pylint disable?
Metadata
Metadata
Assignees
Labels
No labels