Re: [code-quality] Test for checking linefeeds

2015-06-07 Thread anatoly techtonik
Found the command: py -2 -m pylint --reports=n --disable=all --enable=trailing-whitespace,mixed-line-endings,unexpected-line-ending-format --expected-line-ending-format=LF file.py Now how to run that on all modules/packages recursively? On Thu, Jun 4, 2015 at 9:20 PM, anatoly techtonik wrote: >

Re: [code-quality] Test for checking linefeeds

2015-06-07 Thread anatoly techtonik
On Thu, Jun 4, 2015 at 9:42 PM, Claudiu Popa wrote: > On Thu, Jun 4, 2015 at 9:30 PM, anatoly techtonik wrote: >> Found the command: >> py -2 -m pylint --reports=n --disable=all >> --enable=trailing-whitespace,mixed-line-endings,unexpected-line-ending-format >> --expected-line-ending-format=LF fi

Re: [code-quality] Test for checking linefeeds

2015-06-07 Thread anatoly techtonik
That helps, thanks. How to run only this check on app *.py files in repository? I found codenames C0327 (mixed line endings) and C0328 (unexpected feeds) On Thu, Jun 4, 2015 at 4:09 PM, Claudiu Popa wrote: > On Thu, Jun 4, 2015 at 4:08 PM, Claudiu Popa wrote: >> On Wed, Jun 3, 2015 at 1:59 PM, a

Re: [code-quality] Test for checking linefeeds

2015-06-07 Thread anatoly techtonik
On Thu, Jun 4, 2015 at 9:58 PM, Claudiu Popa wrote: > On Thu, Jun 4, 2015 at 9:47 PM, anatoly techtonik wrote: >> >> Does it support multiple modules like `pylint package1 package1 ...`? >> Command line help looks like it doesn't. >> >> Also, is it possible to limit CRLF mismatch message to a sin

[code-quality] pylint crashes with RuntimeError: maximum recursion depth exceeded

2015-06-07 Thread anatoly techtonik
Hi, pylint crashes with whitespace and linefeeds checks. https://travis-ci.org/spyder-ide/spyder/jobs/65808371 I am not sure where it failed, and why it didn't return with error status -1. Is it possible to fix return code and show the name of file that caused the recursion? -- anatoly t.

Re: [code-quality] pylint crashes with RuntimeError: maximum recursion depth exceeded

2015-06-07 Thread Claudiu Popa
On Mon, Jun 8, 2015 at 12:22 AM, anatoly techtonik wrote: > Hi, > > pylint crashes with whitespace and linefeeds checks. > > https://travis-ci.org/spyder-ide/spyder/jobs/65808371 > > I am not sure where it failed, and why it didn't return > with error status -1. Is it possible to fix return code >

Re: [code-quality] pylint crashes with RuntimeError: maximum recursion depth exceeded

2015-06-07 Thread Jeff Quast
> On Jun 7, 2015, at 3:10 PM, Claudiu Popa wrote: > On Mon, Jun 8, 2015 at 12:22 AM, anatoly techtonik > wrote: >> Hi, >> >> pylint crashes with whitespace and linefeeds checks. >> >> https://travis-ci.org/spyder-ide/spyder/jobs/65808371 >> >> I am not sure where it failed, and why it didn't