# This configuration was generated by # `rubocop --auto-gen-config --no-offense-counts --no-auto-gen-timestamp` # using RuboCop version 1.12.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. # Configuration parameters: AllowedMethods. # AllowedMethods: enums Lint/ConstantDefinitionInBlock: Exclude: - 'Rakefile' - 'acceptance/tests/subcommands/init.rb' - 'acceptance/tests/subcommands/provision.rb' - 'spec/beaker/host/freebsd/exec_spec.rb' - 'spec/beaker/host/freebsd/pkg_spec.rb' - 'spec/beaker/host/mac/exec_spec.rb' - 'spec/beaker/host/pswindows/exec_spec.rb' - 'spec/beaker/host/pswindows/file_spec.rb' - 'spec/beaker/host/unix/exec_spec.rb' - 'spec/beaker/host/unix/file_spec.rb' - 'spec/beaker/host/unix/pkg_spec.rb' - 'spec/beaker/host/windows/exec_spec.rb' - 'spec/beaker/host/windows/group_spec.rb' - 'spec/beaker/host/windows/pkg_spec.rb' - 'spec/beaker/options/hosts_file_parser_spec.rb' # Configuration parameters: AllowComments, AllowEmptyLambdas. Lint/EmptyBlock: Exclude: - 'acceptance/tests/base/host/group_test.rb' - 'acceptance/tests/base/host/user_test.rb' - 'spec/beaker/dsl/structure_spec.rb' - 'spec/beaker/logger_junit_spec.rb' - 'spec/beaker/logger_spec.rb' Lint/MissingSuper: Exclude: - 'lib/beaker/hypervisor/noop.rb' - 'lib/beaker/tasks/rake_task.rb' Lint/RescueException: Exclude: - 'lib/beaker/dsl/structure.rb' - 'lib/beaker/test_suite_result.rb' Lint/ShadowingOuterLocalVariable: Exclude: - 'lib/beaker/dsl/helpers/host_helpers.rb' - 'lib/beaker/dsl/helpers/web_helpers.rb' - 'lib/beaker/dsl/wrappers.rb' - 'lib/beaker/host/pswindows/exec.rb' - 'lib/beaker/host/unix/pkg.rb' - 'lib/beaker/host_prebuilt_steps.rb' - 'lib/beaker/perf.rb' Lint/UselessAssignment: Exclude: - 'acceptance/tests/base/dsl/helpers/host_helpers/curl_with_retries_test.rb' - 'lib/beaker/cli.rb' - 'lib/beaker/dsl/helpers/host_helpers.rb' - 'lib/beaker/logger_junit.rb' # Configuration parameters: ForbiddenDelimiters. # ForbiddenDelimiters: (?-mix:(^|\s)(EO[A-Z]{1}|END)(\s|$)) Naming/HeredocDelimiterNaming: Exclude: - 'Rakefile' - 'acceptance/tests/base/dsl/helpers/hocon_helpers_test.rb' - 'lib/beaker/host/cisco.rb' - 'spec/beaker/host/mac/group_spec.rb' - 'spec/beaker/host/mac/user_spec.rb' - 'spec/beaker/host/pswindows/user_spec.rb' - 'spec/beaker/host/windows/group_spec.rb' - 'spec/beaker/host/windows/user_spec.rb' - 'spec/beaker/host/windows_spec.rb' - 'spec/beaker/test_case_spec.rb' # Configuration parameters: EnforcedStyleForLeadingUnderscores. # SupportedStylesForLeadingUnderscores: disallowed, required, optional Naming/MemoizedInstanceVariableName: Exclude: - 'lib/beaker/host.rb' - 'lib/beaker/options/presets.rb' # Configuration parameters: MinSize. Performance/CollectionLiteralInLoop: Exclude: - 'acceptance/fixtures/module/spec/spec_helper_acceptance.rb' - 'lib/beaker/dsl/structure.rb' - 'lib/beaker/test_suite_result.rb' RSpec/AnyInstance: Exclude: - 'spec/beaker/host/windows/file_spec.rb' - 'spec/beaker/subcommand_spec.rb' # Configuration parameters: Prefixes. # Prefixes: when, with, without RSpec/ContextWording: Enabled: false # Configuration parameters: CountAsOne. RSpec/ExampleLength: Max: 44 RSpec/ExpectInHook: Exclude: - 'spec/beaker/cli_spec.rb' - 'spec/beaker/dsl/helpers/host_helpers_spec.rb' - 'spec/beaker/host/unix/exec_spec.rb' - 'spec/beaker/host/windows/group_spec.rb' - 'spec/beaker/host_prebuilt_steps_spec.rb' - 'spec/beaker/logger_spec.rb' - 'spec/beaker/options/parser_spec.rb' - 'spec/beaker/ssh_connection_spec.rb' # Configuration parameters: AssignmentOnly. RSpec/InstanceVariable: Exclude: - 'spec/beaker/dsl/helpers/host_helpers_spec.rb' - 'spec/beaker/dsl/helpers/test_helpers_spec.rb' - 'spec/beaker/dsl/roles_spec.rb' - 'spec/beaker/dsl/test_tagging_spec.rb' - 'spec/beaker/host_prebuilt_steps_spec.rb' RSpec/IteratedExpectation: Exclude: - 'spec/beaker/dsl/helpers/host_helpers_spec.rb' - 'spec/beaker/host_prebuilt_steps_spec.rb' RSpec/LeakyConstantDeclaration: Exclude: - 'spec/beaker/host/freebsd/exec_spec.rb' - 'spec/beaker/host/freebsd/pkg_spec.rb' - 'spec/beaker/host/mac/exec_spec.rb' - 'spec/beaker/host/pswindows/exec_spec.rb' - 'spec/beaker/host/pswindows/file_spec.rb' - 'spec/beaker/host/unix/exec_spec.rb' - 'spec/beaker/host/unix/file_spec.rb' - 'spec/beaker/host/unix/pkg_spec.rb' - 'spec/beaker/host/windows/exec_spec.rb' - 'spec/beaker/host/windows/group_spec.rb' - 'spec/beaker/host/windows/pkg_spec.rb' - 'spec/beaker/options/hosts_file_parser_spec.rb' RSpec/MultipleDescribes: Exclude: - 'spec/beaker/dsl/test_tagging_spec.rb' # Configuration parameters: AllowSubject. RSpec/MultipleMemoizedHelpers: Max: 19 # Configuration parameters: IgnoreSharedExamples. RSpec/NamedSubject: Enabled: false RSpec/RepeatedDescription: Exclude: - 'spec/beaker/cli_spec.rb' - 'spec/beaker/host/unix/exec_spec.rb' - 'spec/beaker/host/unix/pkg_spec.rb' RSpec/RepeatedExample: Exclude: - 'spec/beaker/dsl/roles_spec.rb' - 'spec/beaker/logger_spec.rb' RSpec/SubjectStub: Exclude: - 'spec/beaker/dsl/assertions_spec.rb' - 'spec/beaker/dsl/helpers/host_helpers_spec.rb' - 'spec/beaker/dsl/helpers/test_helpers_spec.rb' - 'spec/beaker/dsl/helpers/web_helpers_spec.rb' - 'spec/beaker/dsl/outcomes_spec.rb' - 'spec/beaker/dsl/roles_spec.rb' - 'spec/beaker/dsl/structure_spec.rb' - 'spec/beaker/dsl/test_tagging_spec.rb' - 'spec/beaker/host/mac/group_spec.rb' - 'spec/beaker/host/mac/user_spec.rb' - 'spec/beaker/host/pswindows/user_spec.rb' - 'spec/beaker/host/windows/user_spec.rb' - 'spec/beaker/host_prebuilt_steps_spec.rb' RSpec/UnspecifiedException: Exclude: - 'spec/beaker/cli_spec.rb' - 'spec/beaker/host/unix/pkg_spec.rb' - 'spec/beaker/host_spec.rb' - 'spec/beaker/test_suite_spec.rb' # Configuration parameters: IgnoreNameless, IgnoreSymbolicNames. RSpec/VerifiedDoubles: Enabled: false # Cop supports --auto-correct. Rake/Desc: Exclude: - 'Rakefile' Security/Eval: Exclude: - 'Rakefile' - 'acceptance/config/base/acceptance-options.rb' - 'acceptance/config/hypervisor/acceptance-options.rb' - 'acceptance/config/subcommands/acceptance-options.rb' - 'lib/beaker/command.rb' - 'lib/beaker/options/options_file_parser.rb' - 'lib/beaker/test_case.rb' Security/Open: Exclude: - 'lib/beaker/dsl/helpers/web_helpers.rb'