Skip to main content

pylint_web2py2 is a disciple of pylint-web2py with better web2py support

Project description

This Pylint plugin minimizes Pylint’s complaints about web2py code. Web2py executes user code in special environment populated with predefined objects and types and with objects defined in model files. Also it has magic import mechanism which knows some special places where to find modules.

Pylint doesn’t know about these details – its parser is unable to find these objects and modules, resulting in a flood of laments. This plugin: - adds variables defined in models to other models’ and controllers’ scope - adds definition of some predefined global objects to models and controllers - adds web2py module paths to sys.path, so pylint is able to find them

To enable this plugin: - Add –load-plugins=pylint_web2py2 to pylint options or - Add load-plugins=pylint_web2py2 to your .pylintrc

Project details


Release history Release notifications | RSS feed

This version

0.8

Download files

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

Source Distribution

pylint_web2py2-0.8.tar.gz (3.6 kB view details)

Uploaded Source

File details

Details for the file pylint_web2py2-0.8.tar.gz.

File metadata

  • Download URL: pylint_web2py2-0.8.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pylint_web2py2-0.8.tar.gz
Algorithm Hash digest
SHA256 dd29a3ffbb48071bf69e00912784013216046a15d1641fa0613ba1546709b6d2
MD5 1b70a83082ae51d0bd57be589ddcdd7e
BLAKE2b-256 565413cbb62d62ccf1caf74cb54fd2a8ec8bb3507669f9c2b1b66ae729d7ec05

See more details on using hashes here.

Supported by

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