Utilities and helpers for writing Pylint plugins
Project description
pylint-plugin-utils
Status
About
Utilities and helpers for writing Pylint plugins. This is not a direct Pylint plugin, but rather a set of tools and functions used by other plugins such as pylint-django and pylint-celery.
Testing
Create virtualenv:
python3.8 -m venv .pylint-plugin-utils
source .pylint-plugin-utils/bin/activate
pip install --upgrade pip setuptools
We use tox for running the test suite. You should be able to install it with:
pip install tox pytest
To run the test suite for a particular Python version, you can do:
tox -e py38
To run individual tests with tox
, you can do:
tox -e py38 -- -k test_linter_should_be_pickleable
We use pytest
for testing pylint
, which you can use without using tox
for a faster development cycle.
If you want to run tests on a specific portion of the code with pytest, pytest-cov and your local python version::
pip install pytest-cov
# Everything:
python3 -m pytest tests/ --cov=pylint_plugin_utils
coverage html
License
pylint-plugin-utils
is available under the GPLv2 License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pylint_plugin_utils-0.8.tar.gz
.
File metadata
- Download URL: pylint_plugin_utils-0.8.tar.gz
- Upload date:
- Size: 10.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7066b732ee9479dfff26bb6dc1a7e82e3fc9455aab3f4bac92527b9e2894032e |
|
MD5 | a960d735b2d55605cbf713e100eb8d44 |
|
BLAKE2b-256 | fef51abbd4e2a738abb10c67f1356b0defae8d84daceb5858493bf42049d28f6 |
File details
Details for the file pylint_plugin_utils-0.8-py3-none-any.whl
.
File metadata
- Download URL: pylint_plugin_utils-0.8-py3-none-any.whl
- Upload date:
- Size: 18.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ec485df560d94109668e1c7d1a84a3a12b205909d641010d2ee0ee369a0bf3e |
|
MD5 | b17a5918ac263665088bcc836dbf2242 |
|
BLAKE2b-256 | 6598cb6db8b0f507b8084aff925c1338ca105ef54e98008f0be3bfd265dbe746 |