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

12 lines
203 B
Python
Raw Normal View History

2018-07-20 05:43:02 +00:00
"""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