From 7c3bba42ccd361a3d5281a209c9efe9574baa98e Mon Sep 17 00:00:00 2001 From: Eldinnie Date: Mon, 25 Sep 2017 20:57:06 +0200 Subject: [PATCH] loosen codeclimate (#833) Codeclimate's defaults are pretty strict. Our complexity is High for objects and bot methods so I decreased the RADON-setting to be a bit more forgiving. Secondly I removed the warning for `similar` code leaving only `duplicate` code. --- .codeclimate.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.codeclimate.yml b/.codeclimate.yml index 7d2744c45..b58cf3976 100644 --- a/.codeclimate.yml +++ b/.codeclimate.yml @@ -3,3 +3,17 @@ languages: exclude_paths: - "telegram/emoji.py" - "tests/*" +engines: + duplication: + enabled: true + config: + languages: + - python: + checks: + Similar code: + enabled: false + + radon: + enabled: true + config: + threshold: "C" \ No newline at end of file