def pep8(self, *args):
        del sys.stdout[:], sys.stderr[:]
        sys.argv[1:] = args
        try:
            pep8._main()
            errorcode = None
        except __HOLE__:
            errorcode = sys.exc_info()[1].code
        return sys.stdout.getvalue(), sys.stderr.getvalue(), errorcode
dataset/ETHPy150Open PyCQA/pycodestyle/testsuite/test_shell.py/ShellTestCase.pep8