Source

pytest-codecheckers / setup.py

"""
py.test plugin for checking PEP8 source code compliance using pyflakes.

Usage
---------

after installation (e.g. via ``pip install pytest-codecheckers``) you can type::

    py.test [path/to/mypkg]

which will automatically perform source code sanity checks.  If you have
further questions please send them to the `pytest-dev`_ mailing list.

.. _`pytest-dev`: http://codespeak.net/mailman/listinfo/py-dev
"""
from setuptools import setup
from hgdistver import get_version
setup(
    name='pytest-codecheckers',
    description='pytest plugin to add source code sanity checks (pep8 and friends)',
    long_description=__doc__,
    get_version_from_scm=True,
    author='Ronny Pfannschmidt',
    author_email='Ronny.Pfannschmidt@gmx.de',
    url='http://bitbucket.org/RonnyPfannschmidt/pytest-codecheckers/',
    packages=[
        'codecheckers',
        ],
    entry_points={
        'pytest11': [
            'codechecker = codecheckers.plugin',
            ],
        'codechecker': [
            'pep8 = codecheckers.pep',
            'pyflakes = codecheckers.flakes',
            ],
        },
    install_requires=[
        'pytest>=2.0',
        'pyflakes>=0.4',
        'pep8',
        ],
    setup_requires=['hgdistver'],
    )
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.