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 <minos.galanakis@arm.com>
This commit is contained in:
Minos Galanakis 2022-12-20 11:59:08 +00:00
parent 82dad10746
commit e080cc31f2

View file

@ -1,5 +1,6 @@
[MASTER] [MASTER]
init-hook='import sys; sys.path.append("scripts")' init-hook='import sys; sys.path.append("scripts")'
min-similarity-lines=10
[BASIC] [BASIC]
# We're ok with short funtion argument names. # We're ok with short funtion argument names.