jenkins-bot has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/513301 )
Change subject: [tests] Change codeclimate maintainability rules
......................................................................
[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(-)
Approvals:
Dalba: Looks good to me, approved
jenkins-bot: Verified
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
https://gerrit.wikimedia.org/r/513301
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/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(a)gno.de>
Gerrit-Reviewer: Dalba <dalba.wiki(a)gmail.com>
Gerrit-Reviewer: John Vandenberg <jayvdb(a)gmail.com>
Gerrit-Reviewer: jenkins-bot (75)