##// END OF EJS Templates
check-code: improve quote detection regexp, add tests
check-code: improve quote detection regexp, add tests

File last commit:

r10722:c4fb2103 default
r10722:c4fb2103 default
Show More
test-check-code.out
13 lines | 306 B | text/plain | TextLexer
/ tests / test-check-code.out
Pierre-Yves David
add a small test for contrib/check-code.py...
r10715 ./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 []
Benoit Boissinot
check-code: improve quote detection regexp, add tests
r10722 ./quote.py:4:
> '"""', 42+1, """and
missing whitespace in expression