mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2025-02-16 18:31:45 +01:00
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.
19 lines
No EOL
277 B
YAML
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" |