Re: [code-quality] Custom pylint checkers for Python 2/3 compatibility

2014-08-08 Thread Brett Cannon
I've started work on a pull request to add my Python 3 checkers into Pylint: https://bitbucket.org/brettsky/pylint . The work isn't quite done, but I have run into one issue where one of my checker is causing various regression tests to fail across the board due to strings not being specified as ei

Re: [code-quality] Custom pylint checkers for Python 2/3 compatibility

2014-08-08 Thread Brett Cannon
On Fri Aug 08 2014 at 2:01:18 PM Brett Cannon wrote: > I've started work on a pull request to add my Python 3 checkers into > Pylint: https://bitbucket.org/brettsky/pylint . The work isn't quite > done, but I have run into one issue where one of my checker is causing > various regression tests to

Re: [code-quality] Custom pylint checkers for Python 2/3 compatibility

2014-08-08 Thread Claudiu Popa
On Fri, Aug 8, 2014 at 9:09 PM, Brett Cannon wrote: > > I just realized I should have checked setup.py to see if 2to3 was being > used, which it is. =) So it seems that I will have to port Pylint over to a > Python 2/3 source-compatible code base in order to pass any checks with my > set of checke

Re: [code-quality] Custom pylint checkers for Python 2/3 compatibility

2014-08-08 Thread Brett Cannon
On Fri Aug 08 2014 at 2:59:04 PM Claudiu Popa wrote: > On Fri, Aug 8, 2014 at 9:09 PM, Brett Cannon wrote: > > > > I just realized I should have checked setup.py to see if 2to3 was being > > used, which it is. =) So it seems that I will have to port Pylint over > to a > > Python 2/3 source-compa

Re: [code-quality] Custom pylint checkers for Python 2/3 compatibility

2014-08-08 Thread Claudiu Popa
On Fri, Aug 8, 2014 at 10:20 PM, Brett Cannon wrote: > > Any issue if I just make it part of my Python 3 checker pull request? It's > obviously easier when I have my own checkers to make sure I'm not screwing > it up. =) Nope, it's fine with me if it'll be in your Python 3 checker pull request.

Re: [code-quality] [EXTERNAL] Re: How does pylint find files to process

2014-08-08 Thread Mark E. Hamilton
On 08/08/14 13:15, Claudiu Popa wrote: On Thu, Aug 7, 2014 at 9:57 PM, Mark E. Hamilton wrote: Hi, I'm having trouble figuring out how pylint finds python files to process. If I find() all the .py files in my project and pass them on the command line pylint processes them correctly (after I se

[code-quality] Pylint not reporting modules passed on command line

2014-08-08 Thread Mark E. Hamilton
Hi, again, I've got a test structure that looks like this: % find . . ./test_dir1 ./test_dir1/subdir1 ./test_dir1/subdir1/test1.py ./test_dir2 ./test_dir2/subdir2 ./test_dir2/subdir2/test2.py If I pass both .py files to pylint on the command line it processes bo

[code-quality] Pylint output inconsistent

2014-08-08 Thread Mark E. Hamilton
Hi, Why does the 'Statistics by type' move around when I run pylint multiple times? Sometimes it is reported between 'Raw Metrics' and 'Duplication', other times it comes before 'Raw Metrics', and sometimes it comes after the 'Report' section. I can run it four times and get four different or