jenkins-bot merged this change.

View Change

Approvals: Dalba: Looks good to me, approved jenkins-bot: Verified
[tests] Change codeclimate maintainability rules

Increase threshold values:
- argument-count 4 -> 7
- file-lines 250 -> 30 x 30
- method-count 20 -> 30
- method-lines 25 -> 30
- similar-code 2 -> 3

Change-Id: I0f94f286e6766ff7d5073192e8fa673b5cdda99f
---
M .codeclimate.yml
1 file changed, 13 insertions(+), 2 deletions(-)

diff --git a/.codeclimate.yml b/.codeclimate.yml
index 8127d48..d671f0f 100644
--- a/.codeclimate.yml
+++ b/.codeclimate.yml
@@ -2,9 +2,20 @@

checks:
argument-count:
- enabled: false
+ config:
+ threshold: 7
file-lines:
- enabled: false
+ config:
+ threshold: 900
+ method-count:
+ config:
+ threshold: 30
+ method-lines:
+ config:
+ threshold: 30
+ similar-code:
+ config:
+ threshold: 3

exclude_patterns:
- "docs/"

To view, visit change 513301. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I0f94f286e6766ff7d5073192e8fa673b5cdda99f
Gerrit-Change-Number: 513301
Gerrit-PatchSet: 2
Gerrit-Owner: Xqt <info@gno.de>
Gerrit-Reviewer: Dalba <dalba.wiki@gmail.com>
Gerrit-Reviewer: John Vandenberg <jayvdb@gmail.com>
Gerrit-Reviewer: jenkins-bot (75)