I'm trying to apply the Pylint rules on the following code:
class A:
@staticmethod
def r():
query = {"get_data": {"$sum": 1)},
"value": True}
This is giving the result:
a.py:8:0: R0903: Too few public methods (1/2) (too-few-public-methods)
Any thoughts on solving this?