# This configuration was generated by # `rubocop --auto-gen-config` # on 2016-03-18 19:51:36 -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 # 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 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 Metrics/AbcSize: Max: 32 # Offense count: 1 # Configuration parameters: CountComments. Metrics/ClassLength: Max: 111 # Offense count: 2 Metrics/CyclomaticComplexity: Max: 9 # Offense count: 153 # Configuration parameters: AllowHeredoc, AllowURI, URISchemes. # URISchemes: http, https Metrics/LineLength: Max: 524 # Offense count: 8 # Configuration parameters: CountComments. Metrics/MethodLength: Max: 38 # Offense count: 2 Metrics/PerceivedComplexity: Max: 10 # Offense count: 1 Style/AccessorMethodName: Exclude: - 'lib/aptly_misc.rb' # Offense count: 2 # Cop supports --auto-correct. Style/AlignArray: Exclude: - 'lib/aptly_publish.rb' # Offense count: 3 # 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' # Offense count: 3 # 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 Style/BracesAroundHashParameters: 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 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 # 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: 7 # 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 # Cop supports --auto-correct. Style/EmptyLinesAroundMethodBody: Exclude: - 'lib/aptly_repo.rb' - 'lib/aptly_snapshot.rb' # Offense count: 1 # 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 # 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_snapshot.rb' # Offense count: 2 # 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' - 'test/test_aptly_package.rb' - 'test/test_aptly_publish.rb' - 'test/test_aptly_repo.rb' - 'test/test_aptly_snapshot.rb' # Offense count: 24 # Cop supports --auto-correct. # Configuration parameters: Width. Style/IndentationWidth: 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: 1 # Cop supports --auto-correct. Style/LeadingCommentSpace: Exclude: - 'test/minitest_helper.rb' # Offense count: 9 # 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 # Configuration parameters: SupportedStyles. # SupportedStyles: compact, exploded Style/RaiseArgs: EnforcedStyle: compact # Offense count: 14 # Cop supports --auto-correct. Style/RedundantParentheses: Exclude: - 'test/test_aptly_file.rb' - 'test/test_aptly_misc.rb' - 'test/test_aptly_snapshot.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: AllowMultipleReturnValues. Style/RedundantReturn: Exclude: - 'lib/aptly_repo.rb' # Offense count: 8 # Cop supports --auto-correct. Style/SpaceAfterComma: Exclude: - 'lib/aptly_load.rb' - 'test/test_aptly_snapshot.rb' # Offense count: 8 # 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 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters. # SupportedStyles: space, no_space Style/SpaceInsideBlockBraces: Enabled: false # Offense count: 65 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SupportedStyles. # SupportedStyles: space, no_space Style/SpaceInsideHashLiteralBraces: Enabled: false # Offense count: 1 # 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 # 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' - '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: 11 # 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'