Skip to content

Commit f3b1b2a

Browse files
committed
Saner code climate config
1 parent 6538f74 commit f3b1b2a

File tree

1 file changed

+31
-14
lines changed

1 file changed

+31
-14
lines changed

.codeclimate.yml

Lines changed: 31 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,37 @@
1-
engines:
2-
duplication:
3-
enabled: true
1+
version: "2"
2+
checks:
3+
argument-count:
44
config:
5-
languages:
6-
python:
7-
python_version: 3
8-
pep8:
9-
enabled: true
10-
radon:
11-
enabled: true
5+
threshold: 6
6+
complex-logic:
7+
config:
8+
threshold: 10
9+
file-lines:
10+
config:
11+
threshold: 500
12+
method-complexity:
13+
config:
14+
threshold: 10
15+
method-count:
16+
config:
17+
threshold: 20
18+
method-lines:
19+
config:
20+
threshold: 50
21+
nested-control-flow:
22+
config:
23+
threshold: 4
24+
return-statements:
25+
config:
26+
threshold: 10
27+
28+
plugins:
1229
sonar-python:
1330
enabled: true
1431
config:
1532
tests_patterns:
1633
- tests/**
17-
18-
ratings:
19-
paths:
20-
- "**.py"
34+
pep8:
35+
enabled: false
36+
radon:
37+
enabled: false

0 commit comments

Comments
 (0)