forked from ComplianceAsCode/content
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.codeclimate.yml
61 lines (51 loc) · 894 Bytes
/
.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
---
version: "2"
checks:
file-lines:
config:
threshold: 400
similar-code:
config:
languages:
python:
threshold: 40
method-complexity:
config:
threshold: 7
plugins:
markdownlint:
enabled: true
pep8:
enabled: true
radon:
enabled: true
config:
threshold: "C"
sonar-python:
enabled: true
shellcheck:
enabled: true
editorconfig:
enabled: true
config:
editorconfig: .editorconfig
exclude_patterns:
- "**/*"
- "**/.*"
- "!build-scripts/*.py"
- "!ssg/*.py"
- "!ssg/**/*.py"
- "!utils/*.py"
- "!utils/**/*.py"
- "!shared/**/*.py"
- "!*.md"
- "!**/*.md"
- "!.*/*.md"
- ".editorconfig"
- "!tests/*.sh"
- "!tests/shared/*.sh"
- "!utils/*.sh"
- "!build_product"
- "!tests/*.py"
- "!tests/ssg_test_suite/*.py"
- "!tests/ssg_test_suite/**/*.py"