Skip to content

Commit

Permalink
Increase threshold for duplicate code
Browse files Browse the repository at this point in the history
Increase number of lines that have to be similar to get a duplicate code
warning from 4 to 10. The warning triggers frequently on function
headers or longer configs which are partly similar.

Change-Id: I9a3a2d70a62332aef5d5d36f3655c75f2e0efa54
  • Loading branch information
j7weis committed Dec 13, 2019
1 parent 269bc64 commit a5120d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ notes=FIXME,XXX,TODO
[SIMILARITIES]

# Minimum lines number of a similarity.
min-similarity-lines=4
min-similarity-lines=10

# Ignore comments when computing similarities.
ignore-comments=yes
Expand Down

0 comments on commit a5120d1

Please sign in to comment.