Hello,

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?

Best,

   -Nikolaus

-- 
 »Time flies like an arrow, fruit flies like a Banana.«

  PGP fingerprint: 5B93 61F8 4EA2 E279 ABF6  02CF A9AD B7F8 AE4E 425C
_______________________________________________
Python-Projects mailing list
[email protected]
http://lists.logilab.org/mailman/listinfo/python-projects

Reply via email to