Skip to main content

pytest plugin to check source code with pylint

Project description

https://img.shields.io/travis/carsongee/pytest-pylint.svg https://img.shields.io/coveralls/carsongee/pytest-pylint.svg https://img.shields.io/pypi/v/pytest-pylint.svg https://img.shields.io/pypi/dm/pytest-pylint.svg https://img.shields.io/pypi/l/pytest-pylint.svg

Run pylint with pytest and have configurable rule types (i.e. Convention, Warn, and Error) fail the build. You can also specify a pylintrc file.

Sample Usage

py.test --pylint

would be the most simple usage and would run pylint for all error messages.

py.test --pylint --pylint-rcfile=/my/pyrc --pylint-error-types=EF

This would use the pylintrc file at /my/pyrc and only error on pylint Errors and Failures.

Acknowledgements

This code is heavily based on pytest-flakes

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

pytest-pylint-0.4.1.tar.gz (4.1 kB view details)

Uploaded Source

File details

Details for the file pytest-pylint-0.4.1.tar.gz.

File metadata

File hashes

Hashes for pytest-pylint-0.4.1.tar.gz
Algorithm Hash digest
SHA256 aec9a98cfb218d009833191b427a890deca8c5e6a4180b168016a2cea1db207c
MD5 edeecef332d89e9f0469f9beeacb3d3e
BLAKE2b-256 36ac12677b4d074ae5a173c1154891c93314d8eeb47c28cf27528f8fa29b7e3d

See more details on using hashes here.

Provenance

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