clay/.codeclimate.yml

32 lines
618 B
YAML
Raw Normal View History

2018-02-14 23:00:06 +02:00
version: "2" # required to adjust maintainability checks
2018-02-15 12:45:48 +02:00
exclude_patterns:
- "clay/vlc.py"
2018-02-14 22:54:15 +02:00
engines:
duplication:
enabled: false
checks:
argument-count:
config:
2018-02-14 23:00:06 +02:00
threshold: 8 # maximum complexity for ~ B mark in Radon
2018-02-14 22:54:15 +02:00
complex-logic:
config:
threshold: 4
file-lines:
config:
threshold: 1000
method-complexity:
config:
threshold: 10
2018-02-14 22:54:15 +02:00
method-count:
config:
threshold: 40
method-lines:
config:
2018-02-14 23:00:06 +02:00
threshold: 40 # to fit in 1366x768 screen
2018-02-14 22:54:15 +02:00
nested-control-flow:
config:
threshold: 4
return-statements:
config:
2018-02-14 23:00:06 +02:00
threshold: 5