Pylint-mongoengine is a pylint plugin for mongoengine and mongomotor. Inspired by the pylint-django plugin.
Install it using pip:
$ pip install pylint-mongoengine
From the command line use the --load-plugins
parameter:
$ pylint --load-plugins=pylint_mongoengine mycode/
or add load-plugins=pylint_mongoengine
to your pylintrc file
Open the Command Palette (⇧⌘P), then type Preferences: Configure Language Specific Settings
, select Python and add the following code:
"python.linting.pylintArgs": [
"--load-plugins=pylint_mongoengine"
]