from
Sylvain Thénault <sylvain.thenault at logilab dot fr>
subject
[Python-projects] Re: Pylint bat needs 0D0A
date
On Monday 13 October à 10:46, eltronic@juno.com wrote:2003/10/14 09:46
> hi, been trying off & on for a while to
> get some sensible output from pylint.
> previously there was no bat file,
> another time I tryed to download a newer
> version and the gz archive wansn't there.
> this latest release the bat file
> has unix line endings (0x0A) instead of
> windows (0x0D0A), which means it won't work
> on most if not all windows versions.
> Im using win98 and activex python 2.2.2
fixed in the cvs
> python %0.bat %1 %2 %3 %4 %5 %6 %7 %8 %9
> that should be %0 otherwise I get error
> cant open pylint.bat.bat
fixed in the cvs
> since from a dos window there is little scroll
> back support it would be convienent to
> redirect to a report file then display the
> report file. I would commonly run pylint or
> pychecker from an icon on my filemanager
> wincomander.
>
> so I have made this change
> python %0 %1 %2 %3 %4 %5 %6 %7 %8 %9 >%TEMP%/plrep.txt
> rem this opens the txt file before exiting.
> notepad %TEMP%/plrep.txt
hum, I'm not sure this is a desired default behaviour.
> trying to get custom config file
> --generate-rcfile gives me a file
> creation error. I have HOME set in
> autoexec.bat and works for other progms.
> will have to examine it further, maybe
> pylint is not using os.normailize or something
> and expects ~/.rcfile to work like on nix?
I don't understand what is your pb here. What error do you have when
trying to generate a config file ? Anyway, the generated file is printed
on the standard output, not in the rc file. Are you describing another
pb, like pylint doesn't detect your configuration file ?
--
Sylvain Thénault LOGILAB, Paris (France).
http://www.logilab.com http://www.logilab.fr http://www.logilab.org
_______________________________________________
Python-Projects mailing list
Python-Projects@lists.logilab.org
http://lists.logilab.org/mailman/listinfo/python-projects

