You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Carl ceeca326ce triggering a build to try to trigger pre-commit.ci 8 months ago
.github/workflows 22 - Removed ci.yml files as it is a dummy workflow 8 months ago
pylint_plugin_utils 20 - Added pre-commit + fixing all black and isort issues 8 months ago
tests 20 - Removing unsed code 8 months ago
.coveragerc 20 - Added pre-commit + fixing all black and isort issues 8 months ago
.flake8 20 - Added pre-commit + fixing all black and isort issues 8 months ago
.gitignore Bumping version for release 8 months ago
.pre-commit-config.yaml 20 - Added pre-commit + fixing all black and isort issues 8 months ago
LICENSE Initial commit 9 years ago
MANIFEST.in MANIFEST.in: Include the license file. 6 years ago
README.md Removed small formatting error (#22) 8 months ago
poke-pre-commit-ci triggering a build to try to trigger pre-commit.ci 8 months ago
requirements_test.txt Bumping version for release 8 months ago
requirements_test_min.txt 20 - Added pre-commit + fixing all black and isort issues 8 months ago
requirements_test_pre_commit.txt 20 - Added pre-commit + fixing all black and isort issues 8 months ago
setup.cfg 20 - Added pre-commit + fixing all black and isort issues 8 months ago
setup.py Bumping version for release 8 months ago
tox.ini 20 - Added pre-commit + fixing all black and isort issues 8 months ago

README.md

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.