.rubocop.yml in red_amber-0.1.4 vs .rubocop.yml in red_amber-0.1.5
- old
+ new
@@ -51,49 +51,49 @@
# <= 17 satisfactory
# 18..30 unsatisfactory
# > 30 dangerous
Metrics/AbcSize:
- Max: 23
+ Max: 30
Exclude:
- 'lib/red_amber/data_frame_displayable.rb' # Max: 55
- - 'lib/red_amber/data_frame_selectable.rb' # Max: 27
- - 'lib/red_amber/data_frame_observation_operation.rb' # Max: 29
- - 'lib/red_amber/data_frame_variable_operation.rb' # Max: 26
+ - 'lib/red_amber/vector_compensable.rb' # Max: 36
# Max: 25
Metrics/BlockLength:
Max: 25
Exclude:
- 'test/**/*'
# Max: 100
Metrics/ClassLength:
- Max: 100
+ Max: 120
Exclude:
- 'test/**/*'
# Max: 7
Metrics/CyclomaticComplexity:
Max: 12
+ Exclude:
+ - 'lib/red_amber/vector_compensable.rb' # Max: 14
# Max: 10
Metrics/MethodLength:
- Max: 18
+ Max: 30
Exclude:
- 'lib/red_amber/data_frame_displayable.rb' # Max: 33
- - 'lib/red_amber/data_frame_observation_operation.rb' # Max: 21
- - 'lib/red_amber/data_frame_variable_operation.rb' # Max: 20
# Max: 100
Metrics/ModuleLength:
Max: 100
Exclude:
- 'lib/red_amber/vector_functions.rb' # Max: 114
# Max: 8
Metrics/PerceivedComplexity:
Max: 13
+ Exclude:
+ - 'lib/red_amber/vector_compensable.rb' # Max: 15
# Necessary to define is_na
Naming/PredicateName:
Exclude:
- 'lib/red_amber/vector_functions.rb'