Xqt has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/944913 )

Change subject: [tests] Add fixme plugin to codeclimate
......................................................................

[tests] Add fixme plugin to codeclimate

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

Approvals:
  Xqt: Verified; Looks good to me, approved




diff --git a/.codeclimate.yml b/.codeclimate.yml
index 0731513..e9b3d60 100644
--- a/.codeclimate.yml
+++ b/.codeclimate.yml
@@ -19,18 +19,31 @@
   similar-code:
     config:
       threshold: 40
-      exclude_patterns:
-      - "tests/link_tests.py"

 plugins:
   duplication:
     enabled: true
     config:
+      exclude_patterns:
+      - "tests/link_tests.py"
       count_threshold: 3
       languages:
         python:
             python_version: 3

+plugins:
+  fixme:
+    enabled: true
+    config:
+      strings:
+      - FIXME
+      - fixme
+      - hack
+      - TODO
+      - todo
+      - XXX
+      - xxx
+
 exclude_patterns:
 - "docs/"
 - "!docs/conf.py"

--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/944913
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.wikimedia.org/r/settings

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Ia32060c86d55af07e5f5b6eb85f8eb88daa76d9f
Gerrit-Change-Number: 944913
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-MessageType: merged
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to