Skip to content

Commit

Permalink
Merge pull request #13804 from openSUSE/depfu/update/srcapi/rubocop-p…
Browse files Browse the repository at this point in the history
…erformance-1.16.0

[src/api] Update rubocop-performance: 1.15.2 → 1.16.0 (minor)
  • Loading branch information
Dany Marcoux committed Feb 7, 2023
2 parents 24e2451 + 497b639 commit 1b2c3ac
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .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 2023-01-23 14:09:25 UTC using RuboCop version 1.43.0.
# on 2023-02-07 14:06:43 UTC using RuboCop version 1.44.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
18 changes: 9 additions & 9 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 2023-01-23 14:11:40 UTC using RuboCop version 1.43.0.
# on 2023-02-07 14:08:41 UTC using RuboCop version 1.44.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 @@ -636,7 +636,7 @@ Performance/RegexpMatch:
- 'test/functional/webui/spider_test.rb'
- 'test/functional/zzz_post_consistency_test.rb'

# Offense count: 27
# Offense count: 28
# This cop supports unsafe autocorrection (--autocorrect-all).
Performance/StringInclude:
Exclude:
Expand Down Expand Up @@ -674,7 +674,7 @@ RSpec/AnyInstance:
- 'spec/models/project_spec.rb'
- 'spec/policies/package_policy_spec.rb'

# Offense count: 1218
# Offense count: 1221
# 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: 361
# Offense count: 362
# This cop supports safe autocorrection (--autocorrect).
RSpec/LeadingSubject:
Enabled: false
Expand Down Expand Up @@ -1051,7 +1051,7 @@ Rails/TimeZone:
- 'test/unit/binary_release.rb'
- 'test/unit/package_remove_test.rb'

# Offense count: 145
# Offense count: 146
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: nested, compact
Expand Down Expand Up @@ -1093,7 +1093,7 @@ Style/ConditionalAssignment:
Exclude:
- 'app/models/bs_request_action_submit.rb'

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

# Offense count: 1676
# Offense count: 1679
# This cop supports unsafe autocorrection (--autocorrect-all).
# Configuration parameters: EnforcedStyle.
# SupportedStyles: always, always_true, never
Expand Down Expand Up @@ -1229,7 +1229,7 @@ Style/SoleNestedConditional:
- 'script/reformat_memprof'
- 'test/node_matcher.rb'

# Offense count: 363
# Offense count: 364
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: MinSize.
# SupportedStyles: percent, brackets
Expand All @@ -1251,7 +1251,7 @@ ViewComponent/AvoidGlobalState:
- 'app/components/notification_filter_component.rb'
- 'app/components/user_avatar_component.rb'

# Offense count: 2337
# Offense count: 2342
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns, IgnoredPatterns.
# URISchemes: http, https
Expand Down
2 changes: 1 addition & 1 deletion src/api/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ GEM
parser (>= 3.1.1.0)
rubocop-capybara (2.17.0)
rubocop (~> 1.41)
rubocop-performance (1.15.2)
rubocop-performance (1.16.0)
rubocop (>= 1.7.0, < 2.0)
rubocop-ast (>= 0.4.0)
rubocop-rails (2.17.4)
Expand Down
Binary file not shown.
Binary file not shown.

0 comments on commit 1b2c3ac

Please sign in to comment.