to
Sylvain Thénault <sylvain.thenault at logilab dot fr>
subject
Re: [Python-projects] False warnings from 0.7.0 to 0.8.0
date
On Monday, November 7, 2005 Sylvain Thénault - sylvain.thenault@logilab.fr wrote:2005/11/07 20:43
>> Packages split in multiple directories (using __path__)
>> =======================================================
>>
>> I also get now a lot of E0611 warnings for "special" modules.
>> I have a few packages which don't have all their modules inside the
>> same folder. I modify the __path__ variable of the parent package so
>> that Python can find them. Unfortunatly pylint doesn't take this into
>> account right now. See http://www.python.org/doc/essays/packages.html
> hum, I'm pretty sure older version of pylint (at least >= 0.6) didn't
> handle this neither. Can't you handle this differently by using a .pth
> file ?
The modules in the extra folder are generated. They were originally
placed in the parent package, but I didn't liked this. There were no
problems with this arangement when using pylint 0.7. I did use older
versions, but back then __path__ was not used. Anyway, I'm not going
back since now it's a lot easier to clean the generated files for
example, by just deleting one folder which contains them all, instead
of remembering where all of them live.
I'm not sure if a .pth file would work since they must be added to an
existing package.
But this is not a huge issue.
