-
-
Notifications
You must be signed in to change notification settings - Fork 25
/
.codeclimate.yml
38 lines (37 loc) · 1.48 KB
/
.codeclimate.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
version: "2"
# https://codeclimate.com/
# https://docs.codeclimate.com/docs/maintainability#section-checks
# https://docs.codeclimate.com/docs/advanced-configuration#default-checks
checks:
file-lines:
config:
# Pylint's default is also 1000: https://github.com/PyCQA/pylint/blob/master/pylint/checkers/format.py#L294-L300
threshold: 1000
method-complexity:
config:
threshold: 10 # Same as [flake8]max-complexity
plugins:
bandit: # https://docs.codeclimate.com/docs/bandit
enabled: true
editorconfig: # https://docs.codeclimate.com/docs/editorconfig
enabled: true
fixme: # https://docs.codeclimate.com/docs/fixme
enabled: false
git-legal: # https://docs.codeclimate.com/docs/git-legal
enabled: true
markdownlint: # https://docs.codeclimate.com/docs/markdownlint # TODO: style: enable markdownlint after configuring it
# https://github.com/markdownlint/markdownlint
enabled: false
pep8: # https://docs.codeclimate.com/docs/pep8 PEP8 already being checked by flake8 plugins on pre-commit
enabled: false
pylint: # https://docs.codeclimate.com/docs/pylint Already checked by pre-commit
enabled: false
radon: # https://docs.codeclimate.com/docs/radon
enabled: false
config:
# https://radon.readthedocs.io/en/latest/commandline.html#the-cc-command
threshold: "C"
shellcheck: # https://docs.codeclimate.com/docs/shellcheck
enabled: true
sonar-python: # https://docs.codeclimate.com/docs/sonar-python
enabled: true