Pylint and maya.cmds

Is there any way to get pylint to just ignore any missing functions from ‘maya.cmds’ ? I’ll take the risk at actually missing something

Inside any particular IDE? or are you running directly?

from within wing. I couldnt really find anything that would ignore an entire module

the only thing i could find was to disable the whole check:

disable=E1101

This could have some bad side effects obviously. I found some work arounds, but they are wayyyy more combersome than either disabling the check and dealing with it or just sifting through the errors when reported.

http://www.logilab.org/blogentry/78354


# pylint: disable=E1101
print cmds.ls()  ## <-- haha, yeah right
# pylint: enable=E1101

If you use as pyDev based editor, you can add comments to supress warnings and highlights, but I don’t know for wing

Does wing let you use the pypredef files in <MAYA>\devkit\other\pymel\extras\completion\pypredef? Once I added that to my Eclipse I stopped getting all that crap, but I don’t know if wing knows about predefs

Yeah, i added the pi files which i think gets wing handled, but pylint is a separate process i believe so it has no idea