#NEWLINE# def _do_pep8( self ) : #NEWLINE# #INDENT# print ( 'Checking PEP8 Compliance' ) #NEWLINE# cmd_args = [ 'pep8' , '-r' , 'cement/' , '--exclude=*.pyc' ] #NEWLINE# ( out , err , res ) = shell . exec_cmd ( cmd_args ) #NEWLINE# if ( res > 0 ) : #NEWLINE# #INDENT# self . _do_error ( ( '\n\nPEP8 checks did not pass.\n\n' + ( '$ %s\n%s' % ( ' ' . join ( cmd_args ) , str ( out ) ) ) ) )