Skip to content

rutsky/pytest-pylint

 
 

Repository files navigation

pytest pylint

image

image

image

image

image

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

About

pytest plugin for running pylint against your codebase

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%