tptimer/env/lib/python2.7/site-packages/pylint/test/input/w0801_same.py

12 lines
203 B
Python

"""test code similarities
by defaut docstring are not considered
"""
__revision__ = 'id'
A = 2
B = 3
C = A + B
# need more than X lines to trigger the message
C *= 2
A -= B
# all this should be detected