File tree Expand file tree Collapse file tree 1 file changed +52
-0
lines changed Expand file tree Collapse file tree 1 file changed +52
-0
lines changed Original file line number Diff line number Diff line change
1
+ version : " 2" # required to adjust maintainability checks
2
+ checks :
3
+ argument-count :
4
+ config :
5
+ threshold : 7
6
+ complex-logic :
7
+ config :
8
+ threshold : 7
9
+ file-lines :
10
+ config :
11
+ threshold : 500
12
+ method-complexity :
13
+ config :
14
+ threshold : 7
15
+ method-count :
16
+ config :
17
+ threshold : 20
18
+ method-lines :
19
+ config :
20
+ threshold : 25
21
+ nested-control-flow :
22
+ config :
23
+ threshold : 4
24
+ return-statements :
25
+ config :
26
+ threshold : 4
27
+ similar-code :
28
+ config :
29
+ threshold : # language-specific defaults. an override will affect all languages.
30
+ exclude_patterns :
31
+ - " simple_history/tests/"
32
+ - " simple_history/registry_tests/"
33
+ identical-code :
34
+ config :
35
+ threshold : # language-specific defaults. an override will affect all languages.
36
+ exclude_patterns :
37
+ - " simple_history/tests/"
38
+ - " simple_history/registry_tests/"
39
+ plugins :
40
+ bandit :
41
+ enabled : true
42
+ exclude_patterns :
43
+ - " simple_history/tests/"
44
+ - " simple_history/registry_tests/"
45
+ pep8 :
46
+ enabled : false
47
+ radon :
48
+ enabled : true
49
+ threshold : " C"
50
+ sonar-python :
51
+ enabled : true
52
+
You can’t perform that action at this time.
0 commit comments