Metadata-Version: 2.4
Name: pylint_web2py3
Version: 0.9.4
Summary: pylint_web2py3 is a Pylint plugin to help reduce false positives due to web2py implicit imports, and the successor of pylint-web2py and pylint_web2py2
Author-email: "Vinyl Da.i'gyu-Kazotetsu" <queengooborg@gmail.com>
License-Expression: GPL-3.0-or-later
Project-URL: Homepage, https://github.com/queengooborg/pylint_web2py3
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Classifier: Development Status :: 4 - Beta
Classifier: Topic :: Software Development :: Debuggers
Classifier: Topic :: Software Development :: Quality Assurance
Classifier: Topic :: Software Development :: Testing
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pylint>4.0.0
Dynamic: license-file

# pylint_web2py3
A Pylint plugin that removes Pylint's complaints about web2py code.

## Description
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

## Installation

You can either install this plugin from Pip:

```sh
pip install pylint_web2py3
```

Or, you can install from source:
```sh
git clone https://github.com/queengooborg/pylint_web2py3
cd pylint_web2py3
python setup.py install
```

## Enabling Plugin
- Add `--load-plugins=pylint_web2py3` to pylint options
or
- Add `load-plugins=pylint_web2py3` to your .pylintrc
