Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Utilities and helpers for writing Pylint plugins

License

NotificationsYou must be signed in to change notification settings

pylint-dev/pylint-plugin-utils

Repository files navigation

Status

Build StatusCode StylePypi 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 aspylint-django andpylint-celery.

Testing

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

License

pylint-plugin-utils is available under the GPLv2 License.

About

Utilities and helpers for writing Pylint plugins

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors11


[8]ページ先頭

©2009-2025 Movatter.jp