Skip to content

Commit 7c3bba4

Browse files
authored
loosen codeclimate (python-telegram-bot#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.
1 parent 8754980 commit 7c3bba4

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.codeclimate.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,17 @@ languages:
33
exclude_paths:
44
- "telegram/emoji.py"
55
- "tests/*"
6+
engines:
7+
duplication:
8+
enabled: true
9+
config:
10+
languages:
11+
- python:
12+
checks:
13+
Similar code:
14+
enabled: false
15+
16+
radon:
17+
enabled: true
18+
config:
19+
threshold: "C"

0 commit comments

Comments
 (0)