python-telegram-bot/.codeclimate.yml
Eldinnie 7c3bba42cc 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.
2017-09-25 20:57:06 +02:00

19 lines
No EOL
277 B
YAML

languages:
Python: true
exclude_paths:
- "telegram/emoji.py"
- "tests/*"
engines:
duplication:
enabled: true
config:
languages:
- python:
checks:
Similar code:
enabled: false
radon:
enabled: true
config:
threshold: "C"