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.
This commit is contained in:
Eldinnie 2017-09-25 20:57:06 +02:00 committed by GitHub
parent 8754980448
commit 7c3bba42cc

View file

@ -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"