.rubocop_todo.yml in aptly_cli-0.2.5 vs .rubocop_todo.yml in aptly_cli-0.2.6

- old
+ new

@@ -1,68 +1,67 @@ # This configuration was generated by # `rubocop --auto-gen-config` -# on 2016-03-18 19:51:36 -0700 using RuboCop version 0.38.0. +# on 2016-03-20 13:34:32 -0700 using RuboCop version 0.38.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: 23 +# Offense count: 20 # Cop supports --auto-correct. # Configuration parameters: AlignWith, SupportedStyles. # SupportedStyles: either, start_of_block, start_of_line Lint/BlockAlignment: Exclude: - 'test/test_aptly_misc.rb' - 'test/test_aptly_package.rb' - - 'test/test_aptly_publish.rb' - 'test/test_aptly_repo.rb' - 'test/test_aptly_snapshot.rb' # Offense count: 26 # Cop supports --auto-correct. # Configuration parameters: IgnoreEmptyBlocks. Lint/UnusedBlockArgument: Exclude: - 'bin/aptly-cli' -# Offense count: 60 +# Offense count: 62 Lint/UselessAssignment: Exclude: - 'test/test_aptly_cli_configure.rb' - 'test/test_aptly_file.rb' - 'test/test_aptly_misc.rb' - 'test/test_aptly_package.rb' - 'test/test_aptly_publish.rb' - 'test/test_aptly_repo.rb' - 'test/test_aptly_snapshot.rb' -# Offense count: 3 +# Offense count: 2 Metrics/AbcSize: - Max: 32 + Max: 31 # Offense count: 1 # Configuration parameters: CountComments. Metrics/ClassLength: - Max: 111 + Max: 108 -# Offense count: 2 +# Offense count: 1 Metrics/CyclomaticComplexity: Max: 9 -# Offense count: 153 +# Offense count: 147 # Configuration parameters: AllowHeredoc, AllowURI, URISchemes. # URISchemes: http, https Metrics/LineLength: Max: 524 -# Offense count: 8 +# Offense count: 9 # Configuration parameters: CountComments. Metrics/MethodLength: - Max: 38 + Max: 34 -# Offense count: 2 +# Offense count: 1 Metrics/PerceivedComplexity: Max: 10 # Offense count: 1 Style/AccessorMethodName: @@ -73,26 +72,26 @@ # Cop supports --auto-correct. Style/AlignArray: Exclude: - 'lib/aptly_publish.rb' -# Offense count: 3 +# Offense count: 8 # Cop supports --auto-correct. # Configuration parameters: EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle, SupportedLastArgumentHashStyles. # SupportedLastArgumentHashStyles: always_inspect, always_ignore, ignore_implicit, ignore_explicit Style/AlignHash: Exclude: - 'bin/aptly-cli' + - 'test/test_aptly_publish.rb' -# Offense count: 3 +# Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: always, conditionals Style/AndOr: Exclude: - 'bin/aptly-cli' - - 'lib/aptly_repo.rb' # Offense count: 20 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: braces, no_braces, context_dependent @@ -100,72 +99,43 @@ Exclude: - 'bin/aptly-cli' - 'test/test_aptly_repo.rb' - 'test/test_aptly_snapshot.rb' -# Offense count: 1 -# Cop supports --auto-correct. -# Configuration parameters: IndentWhenRelativeTo, SupportedStyles, IndentOneStep, IndentationWidth. -# SupportedStyles: case, end -Style/CaseIndentation: - Enabled: false - # Offense count: 3 Style/ClassVars: Exclude: - 'lib/aptly_publish.rb' # Offense count: 1 # Cop supports --auto-correct. -Style/ColonMethodCall: - Exclude: - - 'lib/aptly_load.rb' - -# Offense count: 4 -# Cop supports --auto-correct. # Configuration parameters: SingleLineConditionsOnly. Style/ConditionalAssignment: Exclude: - - 'lib/aptly_file.rb' - - 'lib/aptly_repo.rb' - 'lib/aptly_snapshot.rb' -# Offense count: 3 -# Cop supports --auto-correct. -Style/DefWithParentheses: - Exclude: - - 'lib/aptly_file.rb' - - 'lib/aptly_misc.rb' - - 'lib/aptly_repo.rb' - # Offense count: 2 # Cop supports --auto-correct. Style/DeprecatedHashMethods: Exclude: - 'lib/aptly_snapshot.rb' -# Offense count: 7 +# Offense count: 1 Style/Documentation: Exclude: - 'spec/**/*' - 'test/**/*' - - 'lib/aptly_cli.rb' - - 'lib/aptly_file.rb' - - 'lib/aptly_load.rb' - - 'lib/aptly_misc.rb' - - 'lib/aptly_package.rb' - - 'lib/aptly_repo.rb' - 'lib/aptly_snapshot.rb' # Offense count: 2 # Cop supports --auto-correct. Style/EmptyLines: Exclude: - 'test/test_aptly_file.rb' - 'test/test_aptly_repo.rb' -# Offense count: 50 +# Offense count: 45 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: empty_lines, no_empty_lines Style/EmptyLinesAroundBlockBody: Exclude: @@ -174,77 +144,43 @@ - 'test/test_aptly_package.rb' - 'test/test_aptly_publish.rb' - 'test/test_aptly_repo.rb' - 'test/test_aptly_snapshot.rb' -# Offense count: 7 +# Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: empty_lines, no_empty_lines Style/EmptyLinesAroundClassBody: Exclude: - - 'lib/aptly_misc.rb' - - 'lib/aptly_package.rb' - - 'lib/aptly_repo.rb' - 'lib/aptly_snapshot.rb' - 'test/test_aptly_cli_configure.rb' -# Offense count: 5 +# Offense count: 3 # Cop supports --auto-correct. Style/EmptyLinesAroundMethodBody: Exclude: - - 'lib/aptly_repo.rb' - 'lib/aptly_snapshot.rb' -# Offense count: 1 +# Offense count: 130 # Cop supports --auto-correct. -# Configuration parameters: EnforcedStyle, SupportedStyles. -# SupportedStyles: empty_lines, no_empty_lines -Style/EmptyLinesAroundModuleBody: - Exclude: - - 'lib/aptly_cli.rb' - -# Offense count: 2 -# Cop supports --auto-correct. -Style/EmptyLiteral: - Exclude: - - 'lib/aptly_repo.rb' - -# Offense count: 1 -# Configuration parameters: MinBodyLength. -Style/GuardClause: - Exclude: - - 'lib/aptly_repo.rb' - -# Offense count: 162 -# Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles, UseHashRocketsWithSymbolValues. # SupportedStyles: ruby19, ruby19_no_mixed_keys, hash_rockets Style/HashSyntax: Enabled: false -# Offense count: 13 +# Offense count: 7 # Cop supports --auto-correct. # Configuration parameters: MaxLineLength. Style/IfUnlessModifier: Exclude: - 'bin/aptly-cli' - - 'lib/aptly_file.rb' - - 'lib/aptly_misc.rb' - - 'lib/aptly_package.rb' - - 'lib/aptly_repo.rb' + - 'lib/aptly_publish.rb' - 'lib/aptly_snapshot.rb' -# Offense count: 2 +# Offense count: 30 # Cop supports --auto-correct. -# Configuration parameters: SupportedStyles, IndentationWidth. -# SupportedStyles: special_inside_parentheses, consistent, align_braces -Style/IndentHash: - EnforcedStyle: align_braces - -# Offense count: 22 -# Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: normal, rails Style/IndentationConsistency: Exclude: - 'test/test_aptly_misc.rb' @@ -269,128 +205,105 @@ # Cop supports --auto-correct. Style/LeadingCommentSpace: Exclude: - 'test/minitest_helper.rb' -# Offense count: 9 +# Offense count: 8 # Cop supports --auto-correct. Style/MethodCallParentheses: Exclude: - 'bin/aptly-cli' - 'test/test_aptly_file.rb' - 'test/test_aptly_misc.rb' - - 'test/test_aptly_publish.rb' - 'test/test_aptly_repo.rb' # Offense count: 2 # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: snake_case, camelCase Style/MethodName: Enabled: false -# Offense count: 4 -# Cop supports --auto-correct. -Style/NilComparison: - Exclude: - - 'lib/aptly_repo.rb' - # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: PreferredDelimiters. Style/PercentLiteralDelimiters: Exclude: - 'aptly_cli.gemspec' -# Offense count: 2 +# Offense count: 1 # Configuration parameters: SupportedStyles. # SupportedStyles: compact, exploded Style/RaiseArgs: EnforcedStyle: compact -# Offense count: 14 +# Offense count: 15 # Cop supports --auto-correct. Style/RedundantParentheses: Exclude: - 'test/test_aptly_file.rb' - 'test/test_aptly_misc.rb' + - 'test/test_aptly_publish.rb' - 'test/test_aptly_snapshot.rb' -# Offense count: 1 +# Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: AllowMultipleReturnValues. Style/RedundantReturn: Exclude: + - 'lib/aptly_publish.rb' - 'lib/aptly_repo.rb' -# Offense count: 8 +# Offense count: 7 # Cop supports --auto-correct. Style/SpaceAfterComma: Exclude: - - 'lib/aptly_load.rb' - 'test/test_aptly_snapshot.rb' -# Offense count: 8 +# Offense count: 6 # Cop supports --auto-correct. # Configuration parameters: AllowForAlignment. Style/SpaceAroundOperators: Exclude: - - 'lib/aptly_repo.rb' - 'lib/aptly_snapshot.rb' - 'test/test_aptly_snapshot.rb' -# Offense count: 3 +# Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters. # SupportedStyles: space, no_space Style/SpaceInsideBlockBraces: Enabled: false -# Offense count: 65 +# Offense count: 51 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SupportedStyles. # SupportedStyles: space, no_space Style/SpaceInsideHashLiteralBraces: Enabled: false -# Offense count: 1 +# Offense count: 189 # Cop supports --auto-correct. -Style/SpaceInsideParens: - Exclude: - - 'lib/aptly_file.rb' - -# Offense count: 249 -# Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles, ConsistentQuotesInMultiline. # SupportedStyles: single_quotes, double_quotes Style/StringLiterals: Enabled: false -# Offense count: 3 -# Cop supports --auto-correct. -# Configuration parameters: EnforcedStyle, SupportedStyles. -# SupportedStyles: single_quotes, double_quotes -Style/StringLiteralsInInterpolation: - Enabled: false - # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: final_newline, final_blank_line Style/TrailingBlankLines: Exclude: - 'bin/aptly-cli' - 'test/test_aptly_file.rb' -# Offense count: 104 +# Offense count: 66 # Cop supports --auto-correct. Style/TrailingWhitespace: Exclude: - 'aptly_cli.gemspec' - 'bin/aptly-cli' - - 'lib/aptly_file.rb' - - 'lib/aptly_load.rb' - - 'lib/aptly_repo.rb' - 'lib/aptly_snapshot.rb' - 'test/test_aptly_cli_configure.rb' - 'test/test_aptly_file.rb' - 'test/test_aptly_misc.rb' - 'test/test_aptly_package.rb' @@ -410,20 +323,23 @@ # Cop supports --auto-correct. Style/UnlessElse: Exclude: - 'lib/aptly_snapshot.rb' -# Offense count: 11 +# Offense count: 3 # Cop supports --auto-correct. Style/UnneededInterpolation: Exclude: - - 'lib/aptly_file.rb' - - 'lib/aptly_misc.rb' - - 'lib/aptly_package.rb' - - 'lib/aptly_repo.rb' - 'lib/aptly_snapshot.rb' # Offense count: 2 # Cop supports --auto-correct. Style/UnneededPercentQ: Exclude: - 'aptly_cli.gemspec' + +# Offense count: 1 +# Cop supports --auto-correct. +# Configuration parameters: SupportedStyles, MinSize, WordRegex. +# SupportedStyles: percent, brackets +Style/WordArray: + EnforcedStyle: brackets