Skip to content

Commit

Permalink
Regenerate RuboCop TODO file for rails subdirectory
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardoj committed Mar 18, 2024
1 parent 7a9f1b0 commit 504924e
Showing 1 changed file with 26 additions and 22 deletions.
48 changes: 26 additions & 22 deletions src/api/.rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This configuration was generated by
# `rubocop --auto-gen-config --auto-gen-only-exclude --exclude-limit 100`
# on 2024-03-06 13:23:20 UTC using RuboCop version 1.61.0.
# on 2024-03-18 14:23:06 UTC using RuboCop version 1.62.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
Expand Down Expand Up @@ -89,6 +89,13 @@ FactoryBot/FactoryAssociationWithStrategy:
- 'spec/factories/workflow_artifacts_per_step.rb'
- 'spec/factories/workflow_runs.rb'

# Offense count: 3302
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
# URISchemes: http, https
Layout/LineLength:
Max: 220

# Offense count: 7
# Configuration parameters: AllowedMethods.
# AllowedMethods: enums
Expand Down Expand Up @@ -176,10 +183,10 @@ Lint/UselessMethodDefinition:
- 'app/controllers/webui/requests/submissions_controller.rb'
- 'test/test_helper.rb'

# Offense count: 907
# Offense count: 901
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
Metrics/AbcSize:
Max: 256
Max: 255

# Offense count: 16
# Configuration parameters: CountBlocks, Max.
Expand Down Expand Up @@ -208,11 +215,11 @@ Metrics/ClassLength:
- 'app/controllers/webui/comments_controller.rb'
- 'app/controllers/webui/kiwi/images_controller.rb'
- 'app/controllers/webui/package_controller.rb'
- 'app/controllers/webui/packages/binaries_controller.rb'
- 'app/controllers/webui/packages/build_log_controller.rb'
- 'app/controllers/webui/packages/files_controller.rb'
- 'app/controllers/webui/patchinfo_controller.rb'
- 'app/controllers/webui/project_controller.rb'
- 'app/controllers/webui/packages/binaries_controller.rb'
- 'app/controllers/webui/projects/status_controller.rb'
- 'app/controllers/webui/repositories_controller.rb'
- 'app/controllers/webui/request_controller.rb'
Expand Down Expand Up @@ -285,7 +292,7 @@ Metrics/ClassLength:
- 'test/unit/publish_flag_test.rb'
- 'test/unit/user_test.rb'

# Offense count: 189
# Offense count: 188
# Configuration parameters: AllowedMethods, AllowedPatterns, Max.
Metrics/CyclomaticComplexity:
Exclude:
Expand Down Expand Up @@ -376,7 +383,7 @@ Metrics/CyclomaticComplexity:
- 'test/functional/zzz_post_consistency_test.rb'
- 'test/node_matcher.rb'

# Offense count: 987
# Offense count: 986
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
Metrics/MethodLength:
Max: 221
Expand Down Expand Up @@ -409,7 +416,7 @@ Metrics/ParameterLists:
- 'test/functional/read_permission_test.rb'
- 'test/functional/source_controller_test.rb'

# Offense count: 161
# Offense count: 160
# Configuration parameters: AllowedMethods, AllowedPatterns, Max.
Metrics/PerceivedComplexity:
Exclude:
Expand Down Expand Up @@ -657,20 +664,20 @@ RSpec/AnyInstance:
- 'spec/models/project_spec.rb'
- 'spec/policies/package_policy_spec.rb'

# Offense count: 1301
# Offense count: 1288
# Configuration parameters: Prefixes, AllowedPatterns.
# Prefixes: when, with, without
RSpec/ContextWording:
Enabled: false

# Offense count: 474
# Offense count: 465
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: SkipBlocks, EnforcedStyle, OnlyStaticConstants.
# SupportedStyles: described_class, explicit
RSpec/DescribedClass:
Enabled: false

# Offense count: 215
# Offense count: 214
# Configuration parameters: Max, CountAsOne.
RSpec/ExampleLength:
Exclude:
Expand Down Expand Up @@ -716,7 +723,6 @@ RSpec/ExampleLength:
- 'spec/lib/rubocop/cop/view_component/class_name_spec.rb'
- 'spec/lib/rubocop/cop/view_component/file_name_spec.rb'
- 'spec/lib/rubocop/cop/view_component/missing_preview_file_spec.rb'
- 'spec/mailers/event_mailer_spec.rb'
- 'spec/models/bs_request_spec.rb'
- 'spec/models/kiwi/image_spec.rb'
- 'spec/models/kiwi/repository_spec.rb'
Expand Down Expand Up @@ -783,7 +789,7 @@ RSpec/MessageSpies:
- 'spec/controllers/webui/apidocs_controller_spec.rb'
- 'spec/models/kiwi/image_spec.rb'

# Offense count: 1682
# Offense count: 1650
# Configuration parameters: AllowSubject.
RSpec/MultipleMemoizedHelpers:
Max: 28
Expand Down Expand Up @@ -1079,7 +1085,7 @@ Style/ConditionalAssignment:
Exclude:
- 'app/models/bs_request_action_submit.rb'

# Offense count: 1066
# Offense count: 1068
# Configuration parameters: AllowedConstants.
Style/Documentation:
Enabled: false
Expand All @@ -1091,7 +1097,7 @@ Style/ExplicitBlockArgument:
- 'app/lib/backend/connection.rb'
- 'app/models/project.rb'

# Offense count: 1835
# Offense count: 1840
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: always, always_true, never
Expand All @@ -1111,6 +1117,11 @@ Style/IdenticalConditionalBranches:
- 'app/controllers/build_controller.rb'
- 'app/controllers/webui/search_controller.rb'

# Offense count: 309
# This cop supports safe autocorrection (--autocorrect).
Style/IfUnlessModifier:
Enabled: false

# Offense count: 5
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: InverseMethods, InverseBlocks.
Expand Down Expand Up @@ -1187,7 +1198,7 @@ Style/SlicingWithRange:
- 'app/services/package_service/schema_verifier.rb'
- 'test/node_matcher.rb'

# Offense count: 83
# Offense count: 86
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: Mode.
Style/StringConcatenation:
Expand Down Expand Up @@ -1265,10 +1276,3 @@ ViewComponent/MissingPreviewFile:
- 'app/components/workflow_run_request_action_filter_component.rb'
- 'app/components/workflow_run_row_component.rb'
- 'app/components/workflow_run_status_badge_component.rb'

# Offense count: 3328
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
# URISchemes: http, https
Layout/LineLength:
Max: 220

0 comments on commit 504924e

Please sign in to comment.