.rubocop_todo.yml in aptly_cli-0.2.7 vs .rubocop_todo.yml in aptly_cli-0.2.8

- old
+ new

@@ -1,62 +1,54 @@ # This configuration was generated by # `rubocop --auto-gen-config` -# on 2016-03-20 13:34:32 -0700 using RuboCop version 0.38.0. +# on 2016-04-09 19:20:20 -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: 20 +# Offense count: 2 # 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_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: 62 +# Offense count: 4 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: 2 +# Offense count: 5 Metrics/AbcSize: Max: 31 -# Offense count: 1 +# Offense count: 2 # Configuration parameters: CountComments. Metrics/ClassLength: Max: 108 # Offense count: 1 Metrics/CyclomaticComplexity: Max: 9 -# Offense count: 147 +# Offense count: 122 # Configuration parameters: AllowHeredoc, AllowURI, URISchemes. # URISchemes: http, https Metrics/LineLength: - Max: 524 + Max: 253 -# Offense count: 9 +# Offense count: 17 # Configuration parameters: CountComments. Metrics/MethodLength: Max: 34 # Offense count: 1 @@ -72,217 +64,178 @@ # Cop supports --auto-correct. Style/AlignArray: Exclude: - 'lib/aptly_publish.rb' -# Offense count: 8 +# Offense count: 14 # 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_file.rb' - 'test/test_aptly_publish.rb' + - 'test/test_aptly_repo.rb' +# Offense count: 10 +# Cop supports --auto-correct. +# Configuration parameters: EnforcedStyle, SupportedStyles. +# SupportedStyles: with_first_parameter, with_fixed_indentation +Style/AlignParameters: + Exclude: + - 'test/test_aptly_cli_configure.rb' + - 'test/test_aptly_file.rb' + - 'test/test_aptly_repo.rb' + # Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: always, conditionals Style/AndOr: Exclude: - 'bin/aptly-cli' -# Offense count: 20 +# Offense count: 4 # Cop supports --auto-correct. +# Configuration parameters: EnforcedStyle, SupportedStyles, ProceduralMethods, FunctionalMethods, IgnoredMethods. +# SupportedStyles: line_count_based, semantic, braces_for_chaining +# ProceduralMethods: benchmark, bm, bmbm, create, each_with_object, measure, new, realtime, tap, with_object +# FunctionalMethods: let, let!, subject, watch +# IgnoredMethods: lambda, proc, it +Style/BlockDelimiters: + Exclude: + - 'test/test_aptly_file.rb' + - 'test/test_aptly_repo.rb' + +# Offense count: 4 +# Cop supports --auto-correct. +Style/BlockEndNewline: + Exclude: + - 'test/test_aptly_file.rb' + - 'test/test_aptly_repo.rb' + +# Offense count: 7 +# Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: braces, no_braces, context_dependent Style/BracesAroundHashParameters: Exclude: - 'bin/aptly-cli' + - 'test/test_aptly_cli_configure.rb' - 'test/test_aptly_repo.rb' - - 'test/test_aptly_snapshot.rb' # Offense count: 3 Style/ClassVars: Exclude: - 'lib/aptly_publish.rb' # Offense count: 1 # Cop supports --auto-correct. -# Configuration parameters: SingleLineConditionsOnly. -Style/ConditionalAssignment: - Exclude: - - 'lib/aptly_snapshot.rb' - -# Offense count: 2 -# Cop supports --auto-correct. -Style/DeprecatedHashMethods: - Exclude: - - 'lib/aptly_snapshot.rb' - -# Offense count: 1 -Style/Documentation: - Exclude: - - 'spec/**/*' - - 'test/**/*' - - '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: 45 +# Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: empty_lines, no_empty_lines Style/EmptyLinesAroundBlockBody: Exclude: - - '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: 2 +# Offense count: 56 # Cop supports --auto-correct. -# Configuration parameters: EnforcedStyle, SupportedStyles. -# SupportedStyles: empty_lines, no_empty_lines -Style/EmptyLinesAroundClassBody: - Exclude: - - 'lib/aptly_snapshot.rb' - - 'test/test_aptly_cli_configure.rb' - -# Offense count: 3 -# Cop supports --auto-correct. -Style/EmptyLinesAroundMethodBody: - Exclude: - - 'lib/aptly_snapshot.rb' - -# Offense count: 130 -# Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles, UseHashRocketsWithSymbolValues. # SupportedStyles: ruby19, ruby19_no_mixed_keys, hash_rockets Style/HashSyntax: Enabled: false -# Offense count: 7 +# Offense count: 2 # Cop supports --auto-correct. # Configuration parameters: MaxLineLength. Style/IfUnlessModifier: Exclude: - 'bin/aptly-cli' - 'lib/aptly_publish.rb' - - 'lib/aptly_snapshot.rb' -# Offense count: 30 +# Offense count: 5 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: normal, rails Style/IndentationConsistency: Exclude: + - '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: 24 +# Offense count: 3 # Cop supports --auto-correct. # Configuration parameters: Width. Style/IndentationWidth: Exclude: - - 'test/test_aptly_file.rb' + - 'lib/aptly_publish.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: 1 +# Offense count: 5 # Cop supports --auto-correct. -Style/LeadingCommentSpace: - Exclude: - - 'test/minitest_helper.rb' - -# 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_repo.rb' # Offense count: 2 # Configuration parameters: EnforcedStyle, SupportedStyles. # SupportedStyles: snake_case, camelCase Style/MethodName: Enabled: false -# Offense count: 2 +# Offense count: 4 # Cop supports --auto-correct. +Style/MultilineBlockLayout: + Exclude: + - 'test/test_aptly_file.rb' + - 'test/test_aptly_repo.rb' + +# Offense count: 5 +# Cop supports --auto-correct. # Configuration parameters: PreferredDelimiters. Style/PercentLiteralDelimiters: Exclude: + - 'Rakefile' - 'aptly_cli.gemspec' # Offense count: 1 # Configuration parameters: SupportedStyles. # SupportedStyles: compact, exploded Style/RaiseArgs: EnforcedStyle: compact -# Offense count: 15 +# Offense count: 6 # Cop supports --auto-correct. Style/RedundantParentheses: Exclude: + - 'test/test_aptly_cli_configure.rb' - 'test/test_aptly_file.rb' - 'test/test_aptly_misc.rb' - 'test/test_aptly_publish.rb' - - 'test/test_aptly_snapshot.rb' -# Offense count: 2 +# Offense count: 4 # Cop supports --auto-correct. # Configuration parameters: AllowMultipleReturnValues. Style/RedundantReturn: Exclude: - 'lib/aptly_publish.rb' - 'lib/aptly_repo.rb' -# Offense count: 7 -# Cop supports --auto-correct. -Style/SpaceAfterComma: - Exclude: - - 'test/test_aptly_snapshot.rb' - -# Offense count: 6 -# Cop supports --auto-correct. -# Configuration parameters: AllowForAlignment. -Style/SpaceAroundOperators: - Exclude: - - 'lib/aptly_snapshot.rb' - - 'test/test_aptly_snapshot.rb' - # Offense count: 1 # Cop supports --auto-correct. -# Configuration parameters: EnforcedStyle, SupportedStyles, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters. -# SupportedStyles: space, no_space -Style/SpaceInsideBlockBraces: - Enabled: false - -# Offense count: 51 -# Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SupportedStyles. # SupportedStyles: space, no_space Style/SpaceInsideHashLiteralBraces: Enabled: false -# Offense count: 189 +# Offense count: 40 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles, ConsistentQuotesInMultiline. # SupportedStyles: single_quotes, double_quotes Style/StringLiterals: Enabled: false @@ -294,52 +247,29 @@ Style/TrailingBlankLines: Exclude: - 'bin/aptly-cli' - 'test/test_aptly_file.rb' -# Offense count: 66 +# Offense count: 25 # Cop supports --auto-correct. Style/TrailingWhitespace: Exclude: - - 'aptly_cli.gemspec' - 'bin/aptly-cli' - - 'lib/aptly_snapshot.rb' + - 'lib/aptly_publish.rb' - '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: 1 # Cop supports --auto-correct. # Configuration parameters: ExactNameMatch, AllowPredicates, AllowDSLWriters, IgnoreClassMethods, Whitelist. # Whitelist: to_ary, to_a, to_c, to_enum, to_h, to_hash, to_i, to_int, to_io, to_open, to_path, to_proc, to_r, to_regexp, to_str, to_s, to_sym Style/TrivialAccessors: Exclude: - 'lib/aptly_load.rb' -# Offense count: 1 -# Cop supports --auto-correct. -Style/UnlessElse: - Exclude: - - 'lib/aptly_snapshot.rb' - -# Offense count: 3 -# Cop supports --auto-correct. -Style/UnneededInterpolation: - Exclude: - - '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