- Notifications
You must be signed in to change notification settings - Fork12
Utilities and helpers for writing Pylint plugins
License
pylint-dev/pylint-plugin-utils
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
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 aspylint-django andpylint-celery.
Create virtualenv:
python3.8 -m venv .pylint-plugin-utilssource .pylint-plugin-utils/bin/activatepip install --upgrade pip setuptools
We usetox 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 py39
To run individual tests withtox
, you can do:
tox -e py39 -- -k test_linter_should_be_pickleable
We usepytest
for testingpylint
, which you can use without usingtox
for a faster development cycle.
If you want to run tests on a specific portion of the code withpytest,pytest-cov and your local python version::
pip install pytest-cov# Everything:python3 -m pytest tests/ --cov=pylint_plugin_utilscoverage html
pylint-plugin-utils
is available under the GPLv2 License.
About
Utilities and helpers for writing Pylint plugins
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors11
Uh oh!
There was an error while loading.Please reload this page.