[code-quality] Test for checking linefeeds

anatoly techtonik techtonik at gmail.com
Thu Jun 4 20:47:02 CEST 2015


On Thu, Jun 4, 2015 at 9:42 PM, Claudiu Popa <pcmanticore at gmail.com> wrote:
> On Thu, Jun 4, 2015 at 9:30 PM, anatoly techtonik <techtonik at gmail.com> 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 file.py
>>
>> Now how to run that on all modules/packages recursively?
>>
>
> You can use `py -2 pylint package`, it will run on all package's modules.
>
> We don't support (yet) something like `py -2 pylint *.py` though.

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 single line per
file if all lines are in the wrong format?
https://travis-ci.org/spyder-ide/spyder/jobs/65453904

-- 
anatoly t.


More information about the code-quality mailing list