Hi,

I would like to get rid of 'unused import' warnings for some known
packages. I only found "Don't report unused modules in modules named
..." while I need "Don't report unused modules for modules named ..."

The reason is that __init__.py file for this modules (it is one or a
handful of modules) does some interesting magic that help us to import
other modules later with their original name even if their location to
PYTHONPATH entries is not exactly as expected by default. The warning
is generally useful but this is a special pattern used in our code
base where it produces false alarms.

-Radim

------------------------------------------------------------------------------
_______________________________________________
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to