graphite-project / carbon

Consider decorating method with @staticmethod PYL-R0201
Performance
Major
2 occurrences in this check
Method doesn't use the class instance and could be converted into a static method
 13
 14
 15class TestMetricReceiversHandler(TestCase):
 16  def test_build(self): 17    expected_plugins = sorted(['line', 'udp', 'pickle', 'protobuf'])
 18
 19    # amqp not supported with py3
Method doesn't use the class instance and could be converted into a static method
 13    def __init__(self):
 14        self.called = []
 15
 16    def parse_args(self, args): 17        return object(), args
 18
 19    def print_usage(self):