Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 703 Bytes

README.md

File metadata and controls

33 lines (22 loc) · 703 Bytes

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 --extra-index-url=https://pypi.poraodojuca.dev

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