[code-quality] __all__ defined inside a class

2018-03-22 Thread Alexander Todorov
Hi folks, I've just noticed that a legacy piece of code I'm working with contains the following pattern: class SomeClass(object): __all__ = ['add', 'delete'] def __init__(self): pass def get(self): pass def add(self, x): pass def delete(self, x):

[code-quality] Hello I am a newcomer applying for GSoC, trying to get an upstream commit

2018-03-22 Thread ishan srivastava
I think I can fix the issue https://github.com/PyCQA/pylint/issues/1822 , can someone direct me to which files I should be looking at? Ishan Srivastava p: +91 8277536737 e: [email protected] , [email protected]

Re: [code-quality] __all__ defined inside a class

2018-03-22 Thread Ian Stapleton Cordasco
On Thu, Mar 22, 2018 at 4:23 PM, Alexander Todorov wrote: > Hi folks, > I've just noticed that a legacy piece of code I'm working with contains the > following pattern: > > class SomeClass(object): > __all__ = ['add', 'delete'] > > def __init__(self): > pass > > def get(self):

Re: [code-quality] __all__ defined inside a class

2018-03-22 Thread Stephen Satchell
On 03/22/2018 06:30 PM, Ian Stapleton Cordasco wrote: On Thu, Mar 22, 2018 at 4:23 PM, Alexander Todorov wrote: Hi folks, I've just noticed that a legacy piece of code I'm working with contains the following pattern: class SomeClass(object): __all__ = ['add', 'delete'] def __init__(