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"