# This configuration was generated by # `rubocop --auto-gen-config` # on 2023-09-26 11:32:50 UTC using RuboCop version 1.54.2. # 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: 2 # This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: AllowSafeAssignment. Lint/AssignmentInCondition: Exclude: - 'lib/beaker/hypervisor/vsphere.rb' # Offense count: 2 Lint/DuplicateMethods: Exclude: - 'spec/mock_vsphere_helper.rb' # Offense count: 2 # Configuration parameters: AllowedParentClasses. Lint/MissingSuper: Exclude: - 'lib/beaker/hypervisor/fusion.rb' - 'lib/beaker/hypervisor/vsphere.rb' # Offense count: 4 Naming/AccessorMethodName: Exclude: - 'spec/mock_fission.rb' - 'spec/mock_vsphere.rb' - 'spec/mock_vsphere_helper.rb' # Offense count: 1 # Configuration parameters: ForbiddenDelimiters. # ForbiddenDelimiters: (?i-mx:(^|\s)(EO[A-Z]{1}|END)(\s|$)) Naming/HeredocDelimiterNaming: Exclude: - 'Rakefile' # Offense count: 30 # Configuration parameters: EnforcedStyle, AllowedPatterns. # SupportedStyles: snake_case, camelCase Naming/MethodName: Exclude: - 'spec/mock_vsphere.rb' - 'spec/mock_vsphere_helper.rb' # Offense count: 11 # Configuration parameters: MinNameLength, AllowNamesEndingInNumbers, AllowedNames, ForbiddenNames. # AllowedNames: as, at, by, cc, db, id, if, in, io, ip, of, on, os, pp, to Naming/MethodParameterName: Exclude: - 'lib/beaker/hypervisor/vsphere_helper.rb' - 'spec/mock_vsphere.rb' - 'spec/mock_vsphere_helper.rb' # Offense count: 28 # Configuration parameters: EnforcedStyle, AllowedIdentifiers, AllowedPatterns. # SupportedStyles: snake_case, camelCase Naming/VariableName: Exclude: - 'lib/beaker/hypervisor/vsphere_helper.rb' - 'spec/mock_vsphere.rb' - 'spec/mock_vsphere_helper.rb' # Offense count: 1 # Configuration parameters: MinSize. Performance/CollectionLiteralInLoop: Exclude: - 'lib/beaker/hypervisor/vsphere_helper.rb' # Offense count: 1 RSpec/AnyInstance: Exclude: - 'spec/beaker/hypervisor/fusion_spec.rb' # Offense count: 12 # This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: SkipBlocks, EnforcedStyle. # SupportedStyles: described_class, explicit RSpec/DescribedClass: Exclude: - 'spec/beaker/hypervisor/fusion_spec.rb' - 'spec/beaker/hypervisor/vsphere_helper_spec.rb' - 'spec/beaker/hypervisor/vsphere_spec.rb' # Offense count: 6 # Configuration parameters: CountAsOne. RSpec/ExampleLength: Max: 8 # Offense count: 1 # Configuration parameters: . # SupportedStyles: have_received, receive RSpec/MessageSpies: EnforcedStyle: receive # Offense count: 1 # Configuration parameters: AllowedPatterns. # AllowedPatterns: ^expect_, ^assert_ RSpec/NoExpectationExample: Exclude: - 'spec/beaker/hypervisor/fusion_spec.rb' # Offense count: 5 RSpec/UnspecifiedException: Exclude: - 'spec/beaker/hypervisor/fusion_spec.rb' - 'spec/beaker/hypervisor/vsphere_helper_spec.rb' - 'spec/beaker/hypervisor/vsphere_spec.rb' # Offense count: 1 # Configuration parameters: IgnoreNameless, IgnoreSymbolicNames. RSpec/VerifiedDoubles: Exclude: - 'spec/beaker/hypervisor/vsphere_helper_spec.rb' # Offense count: 3 RSpec/VoidExpect: Exclude: - 'spec/beaker/hypervisor/vsphere_spec.rb' # Offense count: 3 # This cop supports safe autocorrection (--autocorrect). Rake/Desc: Exclude: - 'Rakefile' # Offense count: 2 # This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: EnforcedStyle. # SupportedStyles: always, conditionals Style/AndOr: Exclude: - 'lib/beaker/hypervisor/fusion.rb' - 'lib/beaker/hypervisor/vsphere_helper.rb' # Offense count: 12 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: AllowOnConstant, AllowOnSelfClass. Style/CaseEquality: Exclude: - 'spec/beaker/hypervisor/vsphere_helper_spec.rb' # Offense count: 7 Style/ClassVars: Exclude: - 'spec/mock_fission.rb' - 'spec/mock_vsphere_helper.rb' # Offense count: 1 # This cop supports unsafe autocorrection (--autocorrect-all). Style/CommentedKeyword: Exclude: - 'lib/beaker/hypervisor/fusion.rb' # Offense count: 3 # Configuration parameters: AllowedConstants. Style/Documentation: Exclude: - 'spec/**/*' - 'test/**/*' - 'lib/beaker/hypervisor/fusion.rb' - 'lib/beaker/hypervisor/vsphere.rb' - 'lib/beaker/hypervisor/vsphere_helper.rb' # Offense count: 3 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: EnforcedStyle. # SupportedStyles: format, sprintf, percent Style/FormatString: Exclude: - 'lib/beaker/hypervisor/fusion.rb' - 'lib/beaker/hypervisor/vsphere.rb' # Offense count: 16 # This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: EnforcedStyle. # SupportedStyles: always, always_true, never Style/FrozenStringLiteralComment: Enabled: false # Offense count: 3 # This cop supports safe autocorrection (--autocorrect). Style/IfUnlessModifier: Exclude: - 'lib/beaker/hypervisor/fusion.rb' # Offense count: 1 # This cop supports unsafe autocorrection (--autocorrect-all). Style/InfiniteLoop: Exclude: - 'lib/beaker/hypervisor/vsphere_helper.rb' # Offense count: 2 # This cop supports unsafe autocorrection (--autocorrect-all). Style/LineEndConcatenation: Exclude: - 'lib/beaker/hypervisor/vsphere.rb' # Offense count: 2 # This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: EnforcedStyle. # SupportedStyles: literals, strict Style/MutableConstant: Exclude: - 'bin/beaker-vmware' - 'lib/beaker-vmware/version.rb' # Offense count: 2 Style/OpenStructUse: Exclude: - 'spec/mock_vsphere.rb' # Offense count: 1 # Configuration parameters: AllowedMethods. # AllowedMethods: respond_to_missing? Style/OptionalBooleanParameter: Exclude: - 'spec/mock_vsphere.rb' # Offense count: 2 # This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: EnforcedStyle. # SupportedStyles: short, verbose Style/PreferredHashMethods: Exclude: - 'spec/mock_vsphere_helper.rb' # Offense count: 2 # This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: AllowComments. Style/RedundantInitialize: Exclude: - 'spec/mock_vsphere.rb' - 'spec/mock_vsphere_helper.rb' # Offense count: 2 # This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: Mode. Style/StringConcatenation: Exclude: - 'spec/mock_vsphere.rb' # Offense count: 1 # This cop supports unsafe autocorrection (--autocorrect-all). # Configuration parameters: AllowMethodsWithArguments, AllowedMethods, AllowedPatterns, AllowComments. # AllowedMethods: define_method Style/SymbolProc: Exclude: - 'lib/beaker/hypervisor/fusion.rb' # Offense count: 5 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns. # URISchemes: http, https Layout/LineLength: Max: 152