# This configuration was generated by # `rubocop --auto-gen-config` # on 2016-04-25 14:06:56 -0400 using RuboCop version 0.35.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: IgnoreEmptyBlocks. Lint/UnusedBlockArgument: Enabled: false # Offense count: 11 # Cop supports --auto-correct. # Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods. Lint/UnusedMethodArgument: Enabled: false # Offense count: 1 Lint/UselessAssignment: Enabled: false # Offense count: 35 Metrics/AbcSize: Max: 42 # Offense count: 3 Metrics/CyclomaticComplexity: Max: 8 # Offense count: 775 # Configuration parameters: AllowURI, URISchemes. Metrics/LineLength: Max: 204 # Offense count: 3 Metrics/PerceivedComplexity: Max: 8 # Offense count: 2 # Configuration parameters: Include. Rails/DefaultScope: Exclude: - 'app/models/job_invocation.rb' - 'app/models/job_template.rb' # Offense count: 2 # Configuration parameters: EnforcedStyle, SupportedStyles. Rails/TimeZone: Exclude: - 'app/models/job_invocation_composer.rb' - 'test/functional/api/v2/job_invocations_controller_test.rb' # Offense count: 15 # Cop supports --auto-correct. # Configuration parameters: IndentWhenRelativeTo, SupportedStyles, IndentOneStep. Style/CaseIndentation: Enabled: false # Offense count: 4 # Cop supports --auto-correct. # Configuration parameters: Keywords. Style/CommentAnnotation: Enabled: false # Offense count: 1 Style/DoubleNegation: Exclude: - 'app/models/input_template_renderer.rb' # Offense count: 5 # Cop supports --auto-correct. Style/EmptyLines: Enabled: false # Offense count: 12 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. Style/EmptyLinesAroundBlockBody: Enabled: false # Offense count: 19 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. Style/EmptyLinesAroundClassBody: Enabled: false # Offense count: 3 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. Style/EmptyLinesAroundModuleBody: Enabled: false # Offense count: 2 # Configuration parameters: EnforcedStyle, SupportedStyles. Style/FormatString: Exclude: - 'app/controllers/job_templates_controller.rb' - 'app/lib/actions/remote_execution/run_hosts_job.rb' # Offense count: 9 # Configuration parameters: MinBodyLength. Style/GuardClause: Exclude: - 'app/controllers/api/v2/template_inputs_controller.rb' - 'app/models/concerns/foreman_remote_execution/errors_flattener.rb' - 'app/models/concerns/foreman_remote_execution/nic_extensions.rb' - 'app/models/job_template.rb' - 'app/models/targeting.rb' - 'app/models/template_invocation.rb' # Offense count: 1299 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles, UseHashRocketsWithSymbolValues. Style/HashSyntax: Enabled: false # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: Width. Style/IndentationWidth: Exclude: - 'app/models/template_invocation.rb' # Offense count: 12 # Cop supports --auto-correct. Style/LineEndConcatenation: Enabled: false # Offense count: 1 # Cop supports --auto-correct. Style/MethodCallParentheses: Exclude: - 'test/unit/actions/run_hosts_job_test.rb' # Offense count: 6 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. Style/MultilineOperationIndentation: Enabled: false # Offense count: 10 # Cop supports --auto-correct. # Configuration parameters: PreferredDelimiters. Style/PercentLiteralDelimiters: Enabled: false # Offense count: 1 # Configuration parameters: EnforcedStyle, SupportedStyles. Style/RaiseArgs: Enabled: false # Offense count: 8 # Cop supports --auto-correct. # Configuration parameters: AllowMultipleReturnValues. Style/RedundantReturn: Enabled: false # Offense count: 33 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. Style/SignalException: Enabled: false # Offense count: 1 # Configuration parameters: Methods. Style/SingleLineBlockParams: Exclude: - 'app/models/job_template.rb' # Offense count: 2 # Cop supports --auto-correct. Style/SpaceAfterComma: Exclude: - 'test/functional/api/v2/job_invocations_controller_test.rb' # Offense count: 5 # Cop supports --auto-correct. # Configuration parameters: MultiSpaceAllowedForOperators. Style/SpaceAroundOperators: Exclude: - 'db/migrate/20150708133242_add_invocation.rb' - 'test/unit/input_template_renderer_test.rb' - 'test/unit/job_invocation_composer_test.rb' # Offense count: 43 # Cop supports --auto-correct. Style/SpaceInsideBrackets: Enabled: false # Offense count: 89 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SupportedStyles. Style/SpaceInsideHashLiteralBraces: Enabled: false # Offense count: 7 # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle, SupportedStyles. Style/StringLiterals: Exclude: - 'locale/action_names.rb' # Offense count: 1 # Cop supports --auto-correct. # Configuration parameters: IgnoredMethods. Style/SymbolProc: Exclude: - 'app/models/concerns/foreman_remote_execution/host_extensions.rb'