Hello list!
We're heavily using pylint in most of the Ubuntu One projects at
Canonical, and I'm very happy with it.
Ubuntu One is implemented by several in independent projects, but all of
them provide the ubuntuone python package.
So, for example, we have ubuntuone.controlpanel and ubuntuone.devtools.
Those two are separated projects, where each source tree looks like this:
ubuntuone/
__init__.py
devtools/
__init__.py
....
ubuntuone/
__init__.py
controlpanel/
__init__.py
....
and in both ubuntuone/__init__.py we have the exact same content:
__import__('pkg_resources').declare_namespace(__name__)
The controlpanel modules import devtools and that works perfectly. But
when running pylint, I'm getting:
E0611: 25: No name 'devtools' in module 'ubuntuone'
F0401: 25: Unable to import 'ubuntuone.devtools.testcase'
and then thousand of
E1101:358:DBusServiceTestCase.test_query_bookmarks_extension.got_signal:
Instance of 'DBusServiceTestCase' has no 'assertEqual' member
since the DBusServiceTestCase is provided by the devtools package which
can't be found.
Any idea how can I solve this?
Thanks a lot! Natalia.
_______________________________________________
Python-Projects mailing list
[email protected]
http://lists.logilab.org/mailman/listinfo/python-projects