From a5120d14e9a9d42fe6fa07ec7c95e7eb5479ebcf Mon Sep 17 00:00:00 2001 From: jweis Date: Fri, 13 Dec 2019 13:30:16 +0100 Subject: [PATCH] Increase threshold for duplicate code 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 --- pylintrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylintrc b/pylintrc index a5252d8..2bbdc76 100644 --- a/pylintrc +++ b/pylintrc @@ -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