Skip to content

Commit

Permalink
Merge pull request #13733 from eduardoj/fix/regenerate_rubocop_todo
Browse files Browse the repository at this point in the history
Regenerate RuboCop todo file
  • Loading branch information
danidoni committed Jan 19, 2023
2 parents 12fdb5d + 4eae543 commit c6e11c1
Showing 1 changed file with 17 additions and 23 deletions.
40 changes: 17 additions & 23 deletions src/api/.rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
# This configuration was generated by
# `rubocop --auto-gen-config --auto-gen-only-exclude --exclude-limit 100`
# on 2023-01-09 16:08:14 UTC using RuboCop version 1.42.0.
# on 2023-01-19 09:09:58 UTC using RuboCop version 1.43.0.
# 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
Capybara/SpecificMatcher:
Exclude:
- 'spec/features/webui/image_templates_spec.rb'
- 'spec/features/webui/maintenance_workflow_spec.rb'
- 'spec/features/webui/users/user_home_page_spec.rb'

# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle.
Expand Down Expand Up @@ -132,7 +139,7 @@ Lint/UselessMethodDefinition:
- 'app/controllers/webui/requests/submissions_controller.rb'
- 'test/test_helper.rb'

# Offense count: 858
# Offense count: 860
# Configuration parameters: AllowedMethods, AllowedPatterns, IgnoredMethods, CountRepeatedAttributes.
Metrics/AbcSize:
Max: 243
Expand Down Expand Up @@ -327,7 +334,7 @@ Metrics/CyclomaticComplexity:
- 'test/functional/zzz_post_consistency_test.rb'
- 'test/node_matcher.rb'

# Offense count: 946
# Offense count: 948
# Configuration parameters: CountComments, CountAsOne, ExcludedMethods, AllowedMethods, AllowedPatterns, IgnoredMethods.
Metrics/MethodLength:
Max: 221
Expand Down Expand Up @@ -667,14 +674,7 @@ RSpec/AnyInstance:
- 'spec/models/project_spec.rb'
- 'spec/policies/package_policy_spec.rb'

# Offense count: 6
RSpec/Capybara/SpecificMatcher:
Exclude:
- 'spec/features/webui/image_templates_spec.rb'
- 'spec/features/webui/maintenance_workflow_spec.rb'
- 'spec/features/webui/users/user_home_page_spec.rb'

# Offense count: 1213
# Offense count: 1218
# Configuration parameters: Prefixes, AllowedPatterns.
# Prefixes: when, with, without
RSpec/ContextWording:
Expand Down Expand Up @@ -769,7 +769,7 @@ RSpec/IteratedExpectation:
Exclude:
- 'spec/models/user_spec.rb'

# Offense count: 360
# Offense count: 361
# This cop supports safe autocorrection (--autocorrect).
RSpec/LeadingSubject:
Enabled: false
Expand All @@ -782,7 +782,7 @@ RSpec/MessageSpies:
- 'spec/controllers/webui/apidocs_controller_spec.rb'
- 'spec/models/kiwi/image_spec.rb'

# Offense count: 1637
# Offense count: 1638
# Configuration parameters: AllowSubject.
RSpec/MultipleMemoizedHelpers:
Max: 28
Expand Down Expand Up @@ -855,12 +855,6 @@ RSpec/VerifiedDoubles:
- 'spec/support/shared_contexts/setup_ldap_mock.rb'
- 'spec/support/shared_examples/a_ldap_connection.rb'

# Offense count: 4
# This cop supports unsafe autocorrection (--autocorrect-all).
Rails/ActionControllerFlashBeforeRender:
Exclude:
- 'app/controllers/webui/request_controller.rb'

# Offense count: 1
# This cop supports unsafe autocorrection (--autocorrect-all).
Rails/ApplicationController:
Expand Down Expand Up @@ -1099,7 +1093,7 @@ Style/ConditionalAssignment:
Exclude:
- 'app/models/bs_request_action_submit.rb'

# Offense count: 950
# Offense count: 955
# Configuration parameters: AllowedConstants.
Style/Documentation:
Enabled: false
Expand All @@ -1111,7 +1105,7 @@ Style/ExplicitBlockArgument:
- 'app/lib/backend/connection.rb'
- 'app/models/project.rb'

# Offense count: 1669
# Offense count: 1676
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: always, always_true, never
Expand Down Expand Up @@ -1242,14 +1236,14 @@ Style/SoleNestedConditional:
Style/SymbolArray:
EnforcedStyle: brackets

# Offense count: 283
# Offense count: 286
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: EnforcedStyle, MinSize, WordRegex.
# SupportedStyles: percent, brackets
Style/WordArray:
Enabled: false

# Offense count: 2331
# Offense count: 2333
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns, IgnoredPatterns.
# URISchemes: http, https
Expand Down

0 comments on commit c6e11c1

Please sign in to comment.