mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2025-03-23 23:39:42 +01:00
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:
parent
8754980448
commit
7c3bba42cc
1 changed files with 14 additions and 0 deletions
|
@ -3,3 +3,17 @@ languages:
|
||||||
exclude_paths:
|
exclude_paths:
|
||||||
- "telegram/emoji.py"
|
- "telegram/emoji.py"
|
||||||
- "tests/*"
|
- "tests/*"
|
||||||
|
engines:
|
||||||
|
duplication:
|
||||||
|
enabled: true
|
||||||
|
config:
|
||||||
|
languages:
|
||||||
|
- python:
|
||||||
|
checks:
|
||||||
|
Similar code:
|
||||||
|
enabled: false
|
||||||
|
|
||||||
|
radon:
|
||||||
|
enabled: true
|
||||||
|
config:
|
||||||
|
threshold: "C"
|
Loading…
Add table
Reference in a new issue