forked from theforeman/foreman-xen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop_todo.yml
67 lines (55 loc) · 1.4 KB
/
.rubocop_todo.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
62
63
64
65
66
67
# Offense count: 2
Lint/HandleExceptions:
Exclude:
- 'lib/foreman_xen/vnc_tunnel.rb'
# Offense count: 2
Lint/RescueException:
Exclude:
- 'lib/foreman_xen/vnc_tunnel.rb'
# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments.
Lint/UnusedBlockArgument:
Exclude:
- 'lib/foreman_xen/engine.rb'
# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods.
Lint/UnusedMethodArgument:
Exclude:
- 'app/models/concerns/fog_extensions/xenserver/server.rb'
- 'app/models/foreman_xen/xenserver.rb'
# Offense count: 5
Lint/UselessAssignment:
Exclude:
- 'app/helpers/xen_compute_helper.rb'
- 'lib/foreman_xen/vnc_tunnel.rb'
# Offense count: 16
Metrics/AbcSize:
Max: 65
# Offense count: 2
# Configuration parameters: CountBlocks.
Metrics/BlockNesting:
Max: 4
# Offense count: 2
# Configuration parameters: CountComments.
Metrics/ClassLength:
Max: 368
# Offense count: 3
Metrics/CyclomaticComplexity:
Max: 12
# Offense count: 21
# Configuration parameters: CountComments.
Metrics/MethodLength:
Max: 52
# Offense count: 1
# Configuration parameters: CountComments.
Metrics/ModuleLength:
Max: 117
# Offense count: 1
# Configuration parameters: CountKeywordArgs.
Metrics/ParameterLists:
Max: 6
# Offense count: 4
Metrics/PerceivedComplexity:
Max: 13