.hound.yml in data_set-1.0.1 vs .hound.yml in data_set-1.1.0

- old
+ new

@@ -1,7 +1,8 @@ AllCops: Exclude: + - features/step_definitions/**/* - data_set.gemspec - test/*.rb - spec/**/* # Removing need for frozen string literal comment. @@ -28,27 +29,27 @@ # Prefer fail over raise. Style/SignalException: Enabled: false # This never works for validations. -Style/AlignHash: +Layout/AlignHash: EnforcedLastArgumentHashStyle: ignore_implicit # Align multi-line params with previous line. -Style/AlignParameters: +Layout/AlignParameters: EnforcedStyle: with_fixed_indentation # Indent `when` clause one step from `case`. -Style/CaseIndentation: +Layout/CaseIndentation: IndentOneStep: true # Don't force bad var names for reduce/inject loops. Style/SingleLineBlockParams: Enabled: false # For method chains, keep the dot with the method name. -Style/DotPosition: +Layout/DotPosition: EnforcedStyle: leading # Stop nesting so hard. Metrics/BlockNesting: Max: 2 @@ -58,5 +59,9 @@ Max: 10 # Encourage fewer parameters. Metrics/ParameterLists: Max: 4 + +# Slightly higher cyclomatic complexity. +Metrics/CyclomaticComplexity: + Max: 7