] > Re: [Python-projects] invoking pylint on __init__.py (Logilab.org)

Email Re: [Python-projects] invoking pylint on __init__.py

from
cc
subject
Re: [Python-projects] invoking pylint on __init__.py
date
2005/11/08 09:17
On Tuesday 08 November à 08:51, Stefan Rank wrote:
> Just installed the new astng and pylint 0.8.1 and...
> one of the two surprises is gone, see below.
> (unfortunately the other one is the one that bugs me :)
>  if i have time one of these days i'll try to investigate
>  on the windows-box.)

In this case take a look at pylint/test/regrtest.py, which implements a
test case trying to reproduce your problem.
 
> on 07.11.2005 16:43 Sylvain Thénault said the following:
> >On Monday 31 October à 16:28, Sylvain Thénault wrote:
> >>On Monday 31 October à 15:43, Stefan Rank wrote:
> >>>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__).

> This is still happening.

hum, strange. Possibly a pb related to sys.path handling differences
between windows and linux.

-- 
Sylvain Thénault                               LOGILAB, Paris (France).

http://www.logilab.com   http://www.logilab.fr  http://www.logilab.org


is a reply to
has reply