Metadata-Version: 2.0
Name: pytest-pylint
Version: 0.10.0
Summary: pytest plugin to check source code with pylint
Home-page: https://github.com/carsongee/pytest-pylint
Author: Carson Gee
Author-email: x@carsongee.com
License: MIT
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Requires-Dist: pylint (>=1.4.5)
Requires-Dist: pytest (>=2.7)
Requires-Dist: six

pytest pylint
-------------
.. image:: https://img.shields.io/travis/carsongee/pytest-pylint.svg
    :target: https://travis-ci.org/carsongee/orcoursetrion
.. image:: https://img.shields.io/coveralls/carsongee/pytest-pylint.svg
    :target: https://coveralls.io/r/carsongee/pytest-pylint
.. image:: https://img.shields.io/pypi/v/pytest-pylint.svg
    :target: https://pypi.python.org/pypi/pytest-pylint
.. image:: https://anaconda.org/conda-forge/pytest-pylint/badges/version.svg
   :target: https://anaconda.org/conda-forge/pytest-pylint
.. image:: https://anaconda.org/conda-forge/pytest-pylint/badges/downloads.svg
    :target: https://anaconda.org/conda-forge/pytest-pylint
.. image:: https://img.shields.io/pypi/l/pytest-pylint.svg
    :target: https://pypi.python.org/pypi/pytest-pylint

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
============
.. code-block:: shell

   py.test --pylint

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

.. code-block:: shell

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

This would use the pylintrc file at /my/pyrc, only error on pylint
Errors and Failures, and use 4 cores for running pylint.

You can restrict your test run to only perform pylint checks and not any other
tests by typing:

.. code-block:: shell

    py.test --pylint -m pylint

Acknowledgements
================

This code is heavily based on 
`pytest-flakes <https://github.com/fschulze/pytest-flakes>`_


Releases
========

0.10.0
~~~~~~

- `jqkvan <https://github.com/jwkvam>`_ provided support for pylint 2.0

0.9.0
~~~~~

- `noisecapella <https://github.com/noisecapella>`_ added an option to
  run pylint with multiple processes

0.8.0
~~~~~

- `bdrung <https://github.com/bdrung>`_ corrected inconsitent returns in a function
- Dropped Python 3.3 support

0.7.1
~~~~~

- Corrected path issue reported by `Kargathia <https://github.com/Kargathia>`_

0.7.0
~~~~~

- Linting is performed before tests which enables code duplication
  checks to work along with a performance boost, thanks to @heoga


