Skip to content

Commit e080cc3

Browse files
committedDec 20, 2022
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>
1 parent 82dad10 commit e080cc3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎.pylintrc

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[MASTER]
22
init-hook='import sys; sys.path.append("scripts")'
3+
min-similarity-lines=10
34

45
[BASIC]
56
# We're ok with short funtion argument names.

0 commit comments

Comments
 (0)
Please sign in to comment.