def run(self, files=None): from sh import pep8 for _file in files: pep8("-r", "--ignore=E501,E502,W293,E121,E123,E124,E125,E126,E127,E128", _file)
def pep8(): """check python style""" sh.pep8("fabfile.py", "fragile.py")
def pep8(): sh.pep8("fabfile.py")