annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
10715
83dce0f817f4 add a small test for contrib/check-code.py
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff changeset
1 ./wrong.py:1:
83dce0f817f4 add a small test for contrib/check-code.py
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff changeset
2 > def toto( arg1, arg2):
83dce0f817f4 add a small test for contrib/check-code.py
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff changeset
3 gratuitous whitespace in () or []
83dce0f817f4 add a small test for contrib/check-code.py
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff changeset
4 ./wrong.py:2:
83dce0f817f4 add a small test for contrib/check-code.py
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff changeset
5 > del(arg2)
83dce0f817f4 add a small test for contrib/check-code.py
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff changeset
6 del isn't a function
83dce0f817f4 add a small test for contrib/check-code.py
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff changeset
7 ./wrong.py:3:
83dce0f817f4 add a small test for contrib/check-code.py
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff changeset
8 > return ( 5+6, 9)
83dce0f817f4 add a small test for contrib/check-code.py
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff changeset
9 missing whitespace in expression
83dce0f817f4 add a small test for contrib/check-code.py
Pierre-Yves David <pierre-yves.david@logilab.fr>
parents:
diff changeset
10 gratuitous whitespace in () or []