-
Notifications
You must be signed in to change notification settings - Fork 0
/
.rubocop_todo.yml
209 lines (182 loc) · 5.85 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2019-08-13 14:02:20 +0200 using RuboCop version 0.53.0.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.
# Offense count: 1
FactoryGirl/DynamicAttributeDefinedStatically:
Exclude:
- 'spec/factories/subscriptions.rb'
# Offense count: 126
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: empty_lines, empty_lines_except_namespace, empty_lines_special, no_empty_lines, beginning_only, ending_only
Layout/EmptyLinesAroundClassBody:
Enabled: false
# Offense count: 4
# Configuration parameters: MaximumRangeSize.
Lint/MissingCopEnableDirective:
Exclude:
- 'spec/lib/rmt/cli/main_spec.rb'
- 'spec/models/migration_engine_spec.rb'
- 'spec/support/messy_stdout_guard.rb'
# Offense count: 2
# Configuration parameters: CountComments.
Metrics/ClassLength:
Max: 165
# Offense count: 1
# Configuration parameters: CountComments.
Metrics/ModuleLength:
Max: 113
# Offense count: 2
# Cop supports --auto-correct.
Performance/RegexpMatch:
Exclude:
- 'lib/rmt/cli/base.rb'
# Offense count: 5
# Configuration parameters: Max.
RSpec/ExampleLength:
Exclude:
- 'spec/features/**/*'
- 'spec/lib/rmt/cli/import_spec.rb'
- 'spec/lib/rmt/cli/mirror_spec.rb'
- 'spec/lib/rmt/rpm/repomd_xml_parser_spec.rb'
# Offense count: 60
RSpec/ExpectInHook:
Exclude:
- 'engines/instance_verification/spec/requests/api/connect/v3/systems/products_controller_spec.rb'
- 'engines/registration_sharing/spec/requests/registration_sharing/rmt_to_rmt_controller_spec.rb'
- 'engines/zypper_auth/spec/requests/services_controller_spec.rb'
- 'engines/zypper_auth/spec/requests/strict_authentication/authentication_controller_spec.rb'
- 'spec/lib/rmt/cli/export_spec.rb'
- 'spec/lib/rmt/cli/main_spec.rb'
- 'spec/lib/rmt/cli/repos_custom_spec.rb'
- 'spec/lib/rmt/cli/repos_spec.rb'
- 'spec/lib/rmt/mirror_spec.rb'
- 'spec/lib/rmt/scc_spec.rb'
# Offense count: 1
# Configuration parameters: EnforcedStyle.
# SupportedStyles: implicit, each, example
RSpec/HookArgument:
Exclude:
- 'spec/support/messy_stdout_guard.rb'
# Offense count: 28
# Configuration parameters: AssignmentOnly.
RSpec/InstanceVariable:
Exclude:
- 'spec/lib/rmt/mirror_spec.rb'
# Offense count: 1
RSpec/IteratedExpectation:
Exclude:
- 'spec/requests/api/connect/v3/systems/activations_controller_spec.rb'
# Offense count: 13
RSpec/LetBeforeExamples:
Exclude:
- 'spec/lib/rmt/cli/export_spec.rb'
- 'spec/lib/rmt/cli/import_spec.rb'
- 'spec/models/activation_spec.rb'
# Offense count: 133
# Configuration parameters: .
# SupportedStyles: have_received, receive
RSpec/MessageSpies:
EnforcedStyle: receive
# Offense count: 113
RSpec/MultipleExpectations:
Max: 6
# Offense count: 8
# Configuration parameters: Max.
RSpec/NestedGroups:
Exclude:
- 'spec/requests/api/connect/v3/subscriptions/systems_controller_spec.rb'
- 'spec/requests/api/connect/v3/systems/systems_controller_spec.rb'
- 'spec/requests/api/connect/v4/systems/products_controller_spec.rb'
# Offense count: 5
# Configuration parameters: Strict, EnforcedStyle.
# SupportedStyles: inflected, explicit
RSpec/PredicateMatcher:
Exclude:
- 'spec/lib/rmt/config_spec.rb'
- 'spec/lib/rmt/deduplicator_spec.rb'
# Offense count: 5
# Configuration parameters: EnforcedStyle.
# SupportedStyles: and_return, block
RSpec/ReturnFromStub:
Exclude:
- 'spec/lib/rmt/downloader_spec.rb'
- 'spec/lib/rmt/mirror_spec.rb'
- 'spec/lib/rmt/scc_spec.rb'
# Offense count: 6
# Configuration parameters: Include.
# Include: app/models/**/*.rb
Rails/HasManyOrHasOneDependent:
Exclude:
- 'app/models/product.rb'
- 'app/models/repository.rb'
- 'app/models/service.rb'
- 'app/models/subscription.rb'
- 'app/models/subscription_product_class.rb'
# Offense count: 7
# Configuration parameters: Include.
# Include: app/models/**/*.rb
Rails/InverseOf:
Exclude:
- 'app/models/product.rb'
- 'app/models/products_extensions_association.rb'
- 'app/models/subscription.rb'
- 'app/models/subscription_product_class.rb'
# Offense count: 1
# Configuration parameters: Include.
# Include: app/controllers/**/*.rb
Rails/LexicallyScopedActionFilter:
Exclude:
- 'app/controllers/api/connect/v3/systems/products_controller.rb'
# Offense count: 6
# Cop supports --auto-correct.
Style/ExpandPathArguments:
Exclude:
- 'bin/bundle'
- 'bin/rails'
- 'bin/rake'
- 'bin/rspec'
- 'bin/setup'
- 'bin/update'
# Offense count: 3
# Configuration parameters: EnforcedStyle.
# SupportedStyles: annotated, template, unannotated
Style/FormatStringToken:
Exclude:
- 'app/controllers/api/connect/v3/systems/systems_controller.rb'
- 'app/controllers/api/connect/v4/systems/products_controller.rb'
# Offense count: 2
Style/MixinUsage:
Exclude:
- 'bin/setup'
- 'bin/update'
# Offense count: 2
# Cop supports --auto-correct.
Style/RandomWithOffset:
Exclude:
- 'spec/factories/subscription_product_classes.rb'
- 'spec/factories/subscriptions.rb'
# Offense count: 2
# Cop supports --auto-correct.
Style/RedundantBegin:
Exclude:
- 'lib/rmt/cli/export.rb'
- 'lib/rmt/downloader.rb'
# Offense count: 1
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle.
# SupportedStyles: implicit, explicit
Style/RescueStandardError:
Exclude:
- 'lib/rmt/cli/repos_custom.rb'
# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, AllowSafeAssignment.
# SupportedStyles: require_parentheses, require_no_parentheses, require_parentheses_when_complex
Style/TernaryParentheses:
Exclude:
- 'lib/rmt/scc.rb'