[code-quality] Module checking

2016-07-22 Thread mrx
Hi, Thanks a lot for a wonderful and very useful tool in pylint. I am interested in having pylint check that the 'interface' specified in the __init__.py is respected and no one is importing stuff outside that interface. Is there something like this available in pylint? If not, could you give me

[code-quality] Minimal example

2016-08-13 Thread mrx
Hi, Where can i find a bare minimum pylint checker that will successfully be registered and called? I've tried to write a checker like so: $ cat mychecker.py from pylint import checkers import pdb class Foo(checkers.BaseChecker): name = "FooBar" def visit_module(self, node): se

Re: [code-quality] Minimal example

2016-08-18 Thread mrx
Done, thanks again! Patrik Iselind On Wed, Aug 17, 2016 at 11:05 PM, Claudiu Popa wrote: > > > On Wed, Aug 17, 2016 at 10:37 PM, Patrik Iselind > wrote: > >> Thanks, i got it to work now. >> >> I have some feedback on the page you referred to. >> >> I was missing the implements line as well. T