Skip to main content

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

Project description


A Pylint plugin that removes 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. It also 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


You can either install this plugin from Pip:

pip install pylint_web2py3

Or, you can install from source:

git clone
cd pylint_web2py3
python install

Enabling Plugin

  • Add --load-plugins=pylint_web2py3 to pylint options or
  • Add load-plugins=pylint_web2py3 to your .pylintrc

Project details

Download files

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

Files for pylint-web2py3, version 0.9.2
Filename, size File type Python version Upload date Hashes
Filename, size pylint_web2py3-0.9.2.tar.gz (4.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page