21 lines
223 B
Python
21 lines
223 B
Python
"""
|
|
Should emit:
|
|
B002 - on lines 15 and 20
|
|
"""
|
|
|
|
|
|
def this_is_all_fine(n):
|
|
x = n + 1
|
|
y = 1 + n
|
|
z = +x + y
|
|
return +z
|
|
|
|
|
|
def this_is_buggy(n):
|
|
x = ++n
|
|
return x
|
|
|
|
|
|
def this_is_buggy_too(n):
|
|
return ++n
|