X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=.rubocop_todo.yml;h=23d36faa4d7fd22e2a77cacad9d4c17a9fdaa625;hb=refs%2Fheads%2Fpdksync_%28MAINT%29_Pin_puppetlabs-puppet_agent;hp=69304c9545a9bcbfa8a944ef4987bafd092a9882;hpb=f610bedc5f33db5fdee2ad49eeda95268ab0b9a5;p=puppet-modules%2Fpuppetlabs-apt.git diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 69304c9..23d36fa 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,110 +1,2 @@ -# This configuration was generated by -# `rubocop --auto-gen-config` -# on 2017-09-26 11:49:52 +0100 using RuboCop version 0.49.1. -# 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: 7 -# Cop supports --auto-correct. -# Configuration parameters: EnforcedStyle, SupportedStyles. -# SupportedStyles: auto_detection, squiggly, active_support, powerpack, unindent -Layout/IndentHeredoc: - Exclude: - - 'spec/acceptance/apt_key_provider_spec.rb' - - 'spec/unit/facter/apt_has_updates_spec.rb' - - 'spec/unit/facter/apt_package_security_updates_spec.rb' - - 'spec/unit/facter/apt_package_updates_spec.rb' - - 'spec/unit/facter/apt_security_updates_spec.rb' - - 'spec/unit/facter/apt_updates_spec.rb' - -# Offense count: 1 -Lint/HandleExceptions: - Exclude: - - 'spec/spec_helper.rb' - -# Offense count: 8 -Lint/ParenthesesAsGroupedExpression: - Exclude: - - 'spec/classes/apt_backports_spec.rb' - - 'spec/classes/apt_update_spec.rb' - -# Offense count: 1 -Lint/RescueException: - Exclude: - - 'spec/spec_helper_acceptance.rb' - -# Offense count: 1 -Lint/ScriptPermission: - Exclude: - - 'spec/classes/apt_update_spec.rb' - -# Offense count: 1 -Lint/UselessAssignment: - Exclude: - - 'spec/spec_helper_acceptance.rb' - -# Offense count: 1 -# Configuration parameters: CustomIncludeMethods. -RSpec/EmptyExampleGroup: - Exclude: - - 'spec/defines/ppa_spec.rb' - -# Offense count: 51 -# Configuration parameters: Max. -RSpec/ExampleLength: - Exclude: - - 'spec/acceptance/apt_key_provider_spec.rb' - - 'spec/acceptance/apt_spec.rb' - - 'spec/classes/apt_spec.rb' - - 'spec/defines/key_compat_spec.rb' - - 'spec/defines/key_spec.rb' - - 'spec/unit/puppet/type/apt_key_spec.rb' - -# Offense count: 4 -RSpec/MultipleExpectations: - Max: 2 - -# Offense count: 61 -RSpec/NamedSubject: - Exclude: - - 'spec/classes/apt_backports_spec.rb' - - 'spec/classes/apt_spec.rb' - - 'spec/defines/conf_spec.rb' - - 'spec/defines/key_compat_spec.rb' - - 'spec/defines/key_spec.rb' - - 'spec/defines/pin_spec.rb' - - 'spec/defines/ppa_spec.rb' - - 'spec/defines/setting_spec.rb' - - 'spec/defines/source_compat_spec.rb' - - 'spec/defines/source_spec.rb' - -# Offense count: 4 -# Configuration parameters: Max. -RSpec/NestedGroups: - Exclude: - - 'spec/defines/key_compat_spec.rb' - - 'spec/defines/key_spec.rb' - -# Offense count: 3 -RSpec/ScatteredLet: - Exclude: - - 'spec/defines/key_compat_spec.rb' - - 'spec/defines/key_spec.rb' - -# Offense count: 1 -# Configuration parameters: MinBodyLength. -Style/GuardClause: - Exclude: - - 'spec/spec_helper_acceptance.rb' - -# Offense count: 15 -# Cop supports --auto-correct. -# Configuration parameters: EnforcedStyle, SupportedStyles, AllowInnerSlashes. -# SupportedStyles: slashes, percent_r, mixed -Style/RegexpLiteral: - Exclude: - - 'spec/classes/apt_spec.rb' - - 'spec/defines/source_compat_spec.rb' - - 'spec/defines/source_spec.rb' +GetText/DecorateString: + Enabled: false \ No newline at end of file