-
Notifications
You must be signed in to change notification settings - Fork 17
/
.rubocop_todo.yml
149 lines (127 loc) · 5.22 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
# This configuration was generated by
# `rubocop --auto-gen-config --exclude-limit 50 --no-offense-counts --no-auto-gen-timestamp`
# using RuboCop version 1.41.1.
# 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.
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: Severity, Include.
# Include: **/*.gemspec
Gemspec/DeprecatedAttributeAssignment:
Exclude:
- 'graph_matching.gemspec'
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: Severity, Include.
# Include: **/*.gemspec
Gemspec/RequireMFA:
Exclude:
- 'graph_matching.gemspec'
# Configuration parameters: Severity, Include.
# Include: **/*.gemspec
Gemspec/RequiredRubyVersion:
Exclude:
- 'graph_matching.gemspec'
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowAliasSyntax, AllowedMethods.
# AllowedMethods: alias_method, public, protected, private
Layout/EmptyLinesAroundAttributeAccessor:
Exclude:
- 'lib/graph_matching/algorithm/mcm_general.rb'
# This cop supports safe autocorrection (--autocorrect).
Lint/AmbiguousOperatorPrecedence:
Exclude:
- 'lib/graph_matching/algorithm/mwm_general.rb'
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: RequireParenthesesForMethodChains.
Lint/AmbiguousRange:
Exclude:
- 'lib/graph_matching/algorithm/mwm_general.rb'
- 'lib/graph_matching/algorithm/mwmg_delta_assertions.rb'
# Configuration parameters: AllowedMethods.
# AllowedMethods: enums
Lint/ConstantDefinitionInBlock:
Exclude:
- 'spec/graph_matching/graph/graph_spec.rb'
- 'spec/graph_matching/graph/weighted_spec.rb'
# This cop supports unsafe autocorrection (--autocorrect-all).
Lint/NonAtomicFileOperation:
Exclude:
- 'lib/graph_matching/visualize.rb'
# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods, CountRepeatedAttributes.
Metrics/AbcSize:
Max: 91
# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods.
Metrics/CyclomaticComplexity:
Max: 19
# Configuration parameters: CountKeywordArgs, MaxOptionalParameters.
Metrics/ParameterLists:
Max: 7
# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods.
Metrics/PerceivedComplexity:
Max: 19
# Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames.
# AllowedNames: as, at, by, cc, db, id, if, in, io, ip, of, on, os, pp, to
Naming/MethodParameterName:
Exclude:
- 'benchmark/mcm_bipartite/complete_bigraphs/benchmark.rb'
- 'benchmark/mcm_general/complete_graphs/benchmark.rb'
- 'benchmark/mwm_bipartite/complete_bigraphs/benchmark.rb'
- 'benchmark/mwm_general/complete_graphs/benchmark.rb'
- 'benchmark/mwm_general/incomplete_graphs/benchmark.rb'
- 'lib/graph_matching/algorithm/mcm_bipartite.rb'
- 'lib/graph_matching/algorithm/mcm_general.rb'
- 'lib/graph_matching/algorithm/mwm_bipartite.rb'
- 'lib/graph_matching/algorithm/mwm_general.rb'
- 'lib/graph_matching/directed_edge_set.rb'
- 'lib/graph_matching/graph/graph.rb'
- 'lib/graph_matching/graph/weighted.rb'
- 'lib/graph_matching/matching.rb'
- 'lib/graph_matching/ordered_set.rb'
- 'lib/graph_matching/visualize.rb'
- 'profile/mwm_general/profile.rb'
- 'spec/graph_matching/algorithm/mcm_general_spec.rb'
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: prefer_alias, prefer_alias_method
Style/Alias:
Exclude:
- 'lib/graph_matching/ordered_set.rb'
# This cop supports unsafe autocorrection (--autocorrect-all).
Style/CaseLikeIf:
Exclude:
- 'lib/graph_matching/algorithm/mwm_general.rb'
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: Keywords, RequireColon.
# Keywords: TODO, FIXME, OPTIMIZE, HACK, REVIEW, NOTE
Style/CommentAnnotation:
Exclude:
- 'lib/graph_matching/algorithm/mwmg_delta_assertions.rb'
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle, SingleLineConditionsOnly, IncludeTernaryExpressions.
# SupportedStyles: assign_to_condition, assign_inside_condition
Style/ConditionalAssignment:
Exclude:
- 'lib/graph_matching/algorithm/mwm_general.rb'
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle, AllowComments.
# SupportedStyles: empty, nil, both
Style/EmptyElse:
Exclude:
- 'lib/graph_matching/algorithm/mwm_general.rb'
# This cop supports unsafe autocorrection (--autocorrect-all).
Style/GlobalStdStream:
Exclude:
- 'profile/mwm_general/profile.rb'
# This cop supports safe autocorrection (--autocorrect).
Style/NegatedIfElseCondition:
Exclude:
- 'lib/graph_matching/algorithm/mcm_general.rb'
# This cop supports safe autocorrection (--autocorrect).
Style/RedundantConstantBase:
Exclude:
- 'spec/graph_matching/integer_vertexes_spec.rb'
# This cop supports unsafe autocorrection (--autocorrect-all).
Style/SwapValues:
Exclude:
- 'lib/graph_matching/algorithm/mcm_general.rb'