forked from dsludwig/pylint-web2py
-
Notifications
You must be signed in to change notification settings - Fork 4
A web2py pylint plugin
License
flagist0/pylint_web2py2
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
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
About
A web2py pylint plugin
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Python 100.0%