graphite-project / carbon

Method should have self as the first argument PYL-E0213
Anti-pattern
Major
10 months ago4 years old
Method 'addService' should have "self" as first argument
 37    self.assertEqual(expected_plugins, plugins)
 38
 39    class _FakeService(object):
 40      def addService(_, __): 41        pass
 42    fake_service = _FakeService()
 43