pytest plugin to check source code with pylint
Project description
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
Release history Release notifications | RSS feed
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)
File details
Details for the file pytest-pylint-0.4.1.tar.gz
.
File metadata
- Download URL: pytest-pylint-0.4.1.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aec9a98cfb218d009833191b427a890deca8c5e6a4180b168016a2cea1db207c |
|
MD5 | edeecef332d89e9f0469f9beeacb3d3e |
|
BLAKE2b-256 | 36ac12677b4d074ae5a173c1154891c93314d8eeb47c28cf27528f8fa29b7e3d |