from
Sylvain Thénault <sylvain.thenault at logilab dot fr>
to
Stefan Rank <stefan.rank at ofai dot at>
subject
Re: [Python-projects] invoking pylint on __init__.py
date
On Monday 31 October à 15:43, Stefan Rank wrote:2005/10/31 16:28
> [please cc on replies]
>
> hi
hi,
> I am trying to use pylint to check *only* a __init__.py file.
>
> My experiments (on windows, py24, pylint 0.8)::
>
> pylint.bat mypackage.__init__
>
> works. But the following two::
>
> pylint.bat __init__.py
> pylint.bat .\__init__.py
>
> check the whole package. (where I would expect to only check __init__).
>
> If ./outside is on the PYTHONPATH then::
>
> pylint.bat .\outside\mypackage\__init__.py
>
> fails with an ImportError, and::
>
> cd .\outside
> pylint.bat .\mypackage\__init__.py
>
> works.
>
> *grins and jumps madly up and down*
> did I find a bug, did I find a bug, did I find a bug?
hum, sounds like you did :)
--
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
