equal
deleted
inserted
replaced
5 > NO_CHECK_EOF |
5 > NO_CHECK_EOF |
6 $ cat > wrong.py <<NO_CHECK_EOF |
6 $ cat > wrong.py <<NO_CHECK_EOF |
7 > def toto( arg1, arg2): |
7 > def toto( arg1, arg2): |
8 > del(arg2) |
8 > del(arg2) |
9 > return ( 5+6, 9) |
9 > return ( 5+6, 9) |
|
10 > def badwrap(): |
|
11 > return 1 + \\ |
|
12 > 2 |
10 > NO_CHECK_EOF |
13 > NO_CHECK_EOF |
11 $ cat > quote.py <<NO_CHECK_EOF |
14 $ cat > quote.py <<NO_CHECK_EOF |
12 > # let's use quote in comments |
15 > # let's use quote in comments |
13 > (''' ( 4x5 ) |
16 > (''' ( 4x5 ) |
14 > but """\\''' and finally''', |
17 > but """\\''' and finally''', |
40 Python keyword is not a function |
43 Python keyword is not a function |
41 ./wrong.py:3: |
44 ./wrong.py:3: |
42 > return ( 5+6, 9) |
45 > return ( 5+6, 9) |
43 gratuitous whitespace in () or [] |
46 gratuitous whitespace in () or [] |
44 missing whitespace in expression |
47 missing whitespace in expression |
|
48 ./wrong.py:5: |
|
49 > return 1 + \ |
|
50 Use () to wrap long lines in Python, not \ |
45 ./quote.py:5: |
51 ./quote.py:5: |
46 > '"""', 42+1, """and |
52 > '"""', 42+1, """and |
47 missing whitespace in expression |
53 missing whitespace in expression |
48 ./classstyle.py:4: |
54 ./classstyle.py:4: |
49 > class oldstyle_class: |
55 > class oldstyle_class: |