jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/513316 )
Change subject: [tests] Fix similar code checking in codeclimate ......................................................................
[tests] Fix similar code checking in codeclimate
similar-code threshold describes the mass code block to be analyzed for duplication. This was mistakenly decreased from default 32 to 2. The count threshold should be increased instead.
Refer https://github.com/codeclimate/codeclimate-duplication for this settings
Change-Id: Idec34f3d3571d81ea9544dd20c398c580ead3625 --- M .codeclimate.yml 1 file changed, 5 insertions(+), 2 deletions(-)
Approvals: Dalba: Looks good to me, approved jenkins-bot: Verified
diff --git a/.codeclimate.yml b/.codeclimate.yml index d671f0f..2b6b811 100644 --- a/.codeclimate.yml +++ b/.codeclimate.yml @@ -13,9 +13,12 @@ method-lines: config: threshold: 30 - similar-code: + +plugins: + duplication: + enabled: true config: - threshold: 3 + count_threshold: 3
exclude_patterns: - "docs/"