'pep8 : bool, optional
Turn on PEP8 checking via the pytest-pep8 plugin and disable normal
tests. Same as specifying ``--pep8 -k pep8`` in ``args``.'

@keyword()
def pep8(self, pep8, kwargs):

    if pep8:
        try:
            import pytest_pep8
        except ImportError:
            raise ImportError(u'PEP8    checking    requires    pytest-pep8    plugin:    http://pypi.python.org/pypi/pytest-pep8')
        else:
            return [u'--pep8', u'-k', u'pep8']
    return []
