On 25 septembre 14:13, Nikolaus Rath wrote:
> Hello,

Hi,
 
> It seems that pylint still has some trouble with absolute_imports:
> 
> [0] vostro:~/tmp$ pylint src/s3ql/argparse.py 
> ************* Module argparse
> C0111:  1: Missing docstring
> W0406:  3: Module import itself
> W0611:  3: Unused import argparse
> 
> [20] vostro:~/tmp$ (cd src; pylint s3ql/argparse.py)
> ************* Module s3ql.argparse
> C0111:  1: Missing docstring
> W0611:  3: Unused import argparse
> 
> [20] vostro:~/tmp$ cat src/s3ql/argparse.py 
> from __future__ import division, print_function, absolute_import
> 
> import argparse
> 
> 
> [0] vostro:~/tmp$ cat src/s3ql/__init__.py 
> __all__ = [ 'argparse ']
> 
> [0] vostro:~/tmp$ pylint --version
> pylint 0.21.1, 
> astng 0.20.1, common 0.51.1
> Python 2.6.5 (r265:79063, Apr 16 2010, 13:09:56) 
> [GCC 4.4.3]
> 
> [0] vostro:~/tmp$ 
> 
> 
> Or am I doing something wrong?

sounds like a bug. Would you file a ticket please?
-- 
Sylvain Thénault                               LOGILAB, Paris (France)
Formations Python, Debian, Méth. Agiles: http://www.logilab.fr/formations
Développement logiciel sur mesure:       http://www.logilab.fr/services
CubicWeb, the semantic web framework:    http://www.cubicweb.org

_______________________________________________
Python-Projects mailing list
[email protected]
http://lists.logilab.org/mailman/listinfo/python-projects

Reply via email to