pylint-mongoengine

A Pylint plugin to help it understand MongoEngine


License
GPL-3.0
Install
pip install pylint-mongoengine==0.5.0

Documentation

Pylint-mongoengine is a pylint plugin for mongoengine and mongomotor. Inspired by the pylint-django plugin.

Install

Install it using pip:

   $ pip install pylint-mongoengine

Usage

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

How to use in VS-Code:

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"
]