view tests/test-check-code.out @ 10720:fbcccf9ec58f

check-code: add a return value to checkfile function The checkfile function returns True if the file is correct, False otherwise.
author Pierre-Yves David <pierre-yves.david@logilab.fr>
date Wed, 17 Mar 2010 10:51:26 +0100
parents 83dce0f817f4
children c4fb2103e734
line wrap: on
line source

./wrong.py:1:
 > def toto( arg1, arg2):
 gratuitous whitespace in () or []
./wrong.py:2:
 >     del(arg2)
 del isn't a function
./wrong.py:3:
 >     return ( 5+6, 9)
 missing whitespace in expression
 gratuitous whitespace in () or []