X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=.rubocop_todo.yml;h=da3cce5150029baef908b2e0fc5a880bcde3ee87;hb=refs%2Fheads%2Ftrusted-contributors;hp=e69de29bb2d1d6434b8b29ae775ad8c2e48c5391;hpb=4ea96b8d7ec3dd0d6acabb1d7718f96b8def614c;p=puppet-modules%2Fpuppetlabs-apt.git diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index e69de29..da3cce5 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -0,0 +1,97 @@ +# This configuration was generated by +# `rubocop --auto-gen-config` +# on 2023-04-21 12:46:34 UTC using RuboCop version 1.48.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: 6 +# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes. +Metrics/AbcSize: + Max: 40 + +# Offense count: 3 +# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns, inherit_mode. +# AllowedMethods: refine +Metrics/BlockLength: + Max: 180 + +# Offense count: 3 +# Configuration parameters: AllowedMethods, AllowedPatterns. +Metrics/CyclomaticComplexity: + Max: 11 + +# Offense count: 8 +# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns. +Metrics/MethodLength: + Max: 39 + +# Offense count: 3 +# Configuration parameters: AllowedMethods, AllowedPatterns. +Metrics/PerceivedComplexity: + Max: 12 + +# Offense count: 32 +# Configuration parameters: IgnoredMetadata. +RSpec/DescribeClass: + Enabled: false + +# Offense count: 13 +# Configuration parameters: CountAsOne. +RSpec/ExampleLength: + Max: 15 + +# Offense count: 3 +# Configuration parameters: AllowSubject. +RSpec/MultipleMemoizedHelpers: + Max: 6 + +# Offense count: 204 +# Configuration parameters: EnforcedStyle, IgnoreSharedExamples. +# SupportedStyles: always, named_only +RSpec/NamedSubject: + Exclude: + - 'spec/classes/apt_backports_spec.rb' + - 'spec/classes/apt_spec.rb' + - 'spec/classes/apt_update_spec.rb' + - 'spec/defines/conf_spec.rb' + - 'spec/defines/key_compat_spec.rb' + - 'spec/defines/key_spec.rb' + - 'spec/defines/mark_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' + - 'spec/unit/facter/apt_update_last_success_spec.rb' + +# Offense count: 2 +# Configuration parameters: AllowedGroups. +RSpec/NestedGroups: + Max: 4 + +# Offense count: 24 +# Configuration parameters: AllowedPatterns. +# AllowedPatterns: ^expect_, ^assert_ +RSpec/NoExpectationExample: + Exclude: + - 'spec/acceptance/01_apt_class_spec.rb' + - 'spec/acceptance/apt_backports_spec.rb' + - 'spec/acceptance/apt_key_provider_spec.rb' + - 'spec/acceptance/apt_spec.rb' + +# Offense count: 3 +RSpec/StubbedMock: + Exclude: + - 'spec/unit/puppet/provider/apt_key_spec.rb' + +# Offense count: 2 +Security/Open: + Exclude: + - 'lib/puppet/provider/apt_key/apt_key.rb' + +# Offense count: 1 +Style/MixinUsage: + Exclude: + - 'spec/spec_helper.rb'