From e080cc31f2fed0004a25f6ebec9d6888882986a1 Mon Sep 17 00:00:00 2001 From: Minos Galanakis Date: Tue, 20 Dec 2022 11:59:08 +0000 Subject: [PATCH] pylint: Set a minimum duplicate match to 10 lines. This patch adjusts pylint to disregard duplicate matches for up to 10 lines. The number is chosen to permit overriding with up to 3 identical lines for `def arguments(self)` and `def result(self)` while two more lines for `arity` and `input_style` in the bignum test suite. Signed-off-by: Minos Galanakis --- .pylintrc | 1 + 1 file changed, 1 insertion(+) diff --git a/.pylintrc b/.pylintrc index 10c93f879..f395fb91e 100644 --- a/.pylintrc +++ b/.pylintrc @@ -1,5 +1,6 @@ [MASTER] init-hook='import sys; sys.path.append("scripts")' +min-similarity-lines=10 [BASIC] # We're ok with short funtion argument names.