summaryrefslogtreecommitdiff
path: root/pylint/test/input/func_w0801.py
blob: cd386ff55fc00a063f0f1499dab067c55f892d5a (plain)
1
2
3
4
5
6
7
8
9
10
11
"""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