Skip to main content

Utilities and helpers for writing Pylint plugins

Project description

pylint-plugin-utils

Status

Build Status Coverage Status Code Style Pypi Package version

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


Download files

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

Source Distribution

pylint_plugin_utils-0.8.2.tar.gz (10.7 kB view details)

Uploaded Source

Built Distribution

pylint_plugin_utils-0.8.2-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

Details for the file pylint_plugin_utils-0.8.2.tar.gz.

File metadata

  • Download URL: pylint_plugin_utils-0.8.2.tar.gz
  • Upload date:
  • Size: 10.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.0

File hashes

Hashes for pylint_plugin_utils-0.8.2.tar.gz
Algorithm Hash digest
SHA256 d3cebf68a38ba3fba23a873809155562571386d4c1b03e5b4c4cc26c3eee93e4
MD5 515490483136c33524b14f08a1c6a2d1
BLAKE2b-256 4bd23b9728910bc69232ec38d8fb7053c03c887bfe7e6e170649b683dd351750

See more details on using hashes here.

File details

Details for the file pylint_plugin_utils-0.8.2-py3-none-any.whl.

File metadata

File hashes

Hashes for pylint_plugin_utils-0.8.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ae11664737aa2effbf26f973a9e0b6779ab7106ec0adc5fe104b0907ca04e507
MD5 89ed02391b2a794a9bae4399c7e57b6c
BLAKE2b-256 afee49d11aee31061bcc1d2726bd8334a2883ddcdbde7d7744ed6b3bd11704ed

See more details on using hashes here.

Supported by

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