-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy path.rubocop.yml
90 lines (68 loc) · 1.56 KB
/
.rubocop.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
AllCops:
TargetRubyVersion: 2.2
Exclude:
- samples/*
- bin/*
- spec/**/*
- tensor_stream.gemspec
- Rakefile
Naming/AccessorMethodName:
Exclude:
- lib/tensor_stream/utils.rb
Style/StringLiterals:
Enabled: false
Layout/TrailingBlankLines:
Enabled: false
Metrics/LineLength:
Max: 200
Metrics/AbcSize:
Enabled: false
Metrics/PerceivedComplexity:
Enabled: false
Metrics/MethodLength:
Enabled: false
Metrics/CyclomaticComplexity:
Enabled: false
Metrics/BlockLength:
Exclude:
- lib/tensor_stream/math_gradients.rb
Naming/AccessorMethodName:
Exclude:
- lib/tensor_stream.rb
- lib/tensor_stream/control_flow.rb
- lib/tensor_stream/graph.rb
- lib/tensor_stream/operation.rb
Style/Documentation:
Exclude:
- lib/tensor_stream/version.rb
- lib/tensor_stream/trainer.rb
- lib/tensor_stream/nn/nn_ops.rb
- lib/tensor_stream/evaluator/evaluator.rb
Lint/UnusedMethodArgument:
Exclude:
- lib/tensor_stream/train/saver.rb
- lib/tensor_stream/ops.rb
Metrics/ParameterLists:
Max: 8
Style/PerlBackrefs:
Enabled: false
Style/RegexpLiteral:
Enabled: false
Naming/MemoizedInstanceVariableName:
Enabled: false
Metrics/ModuleLength:
Max: 200
Metrics/ClassLength:
Max: 250
Exclude:
- lib/tensor_stream/evaluator/ruby_evaluator.rb
Naming/VariableNumber:
Enabled: false
Style/DoubleNegation:
Enabled: false
Style/TrailingCommaInHashLiteral:
Enabled: false
Naming/UncommunicativeMethodParamName:
Exclude:
- lib/tensor_stream/evaluator/ruby_evaluator.rb
- lib/tensor_stream/ops.rb