pylint #2473 invoking pylint on __init__.py [resolved]
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. | |
priority | normal |
---|---|
type | bug |
done in | 0.15.0 |
load | 0.000 |
load left | 0.000 |
closed by | <not specified> |
Comments
-
2006/10/13 17:07, written by sthenault
-
2006/10/13 17:07, written by sthenault
-
2008/05/13 09:38, written by sthenault
similar issue reported on pydev tracker :
https://sourceforge.net/tracker/?func=detail&atid=577329&aid=1957009&group_id=85796
add commentadded a test case but can't reproduce this. Test on windows ?
a similar pb :