Skip to main content

A Pylint plugin to help it understand MongoEngine

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pylint-mongoengine-0.5.0.tar.gz (17.5 kB view details)

Uploaded Source

File details

Details for the file pylint-mongoengine-0.5.0.tar.gz.

File metadata

  • Download URL: pylint-mongoengine-0.5.0.tar.gz
  • Upload date:
  • Size: 17.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for pylint-mongoengine-0.5.0.tar.gz
Algorithm Hash digest
SHA256 0eaf5aab386a626d72f6a5475c5d9c2a972b6d64a14039e171f3b7a118de3903
MD5 137fd2143b67da9f380806b226de7de2
BLAKE2b-256 4911453e0168b7cb6fc20167eb5933c81309b12650607df4e653633a2db37594

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page