Hello

How can one make PyLint not fail on optional imports? That is, in some of my
code I have a soft dependency on python-win32, like so:

try: import win32api, pywintypes
except ImportError: pass


However, if python-win32 isn't installed, it makes PyLint fail with messages
like this: Unable to import 'win32api'. Is there any way to suppress this
error?

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

Reply via email to