Skip to content

Commit

Permalink
Tweak rubocop configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
ivoanjo committed Jul 23, 2024
1 parent abc3ef4 commit 2c5cbbc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ Style:
- 'ext/**/*'
Layout:
Exclude:
- 'lib/datadog/profiling*'
- 'lib/datadog/profiling/**/*'
- 'spec/datadog/profiling*'
- 'spec/datadog/profiling/**/*'
- 'ext/**/*'
- 'lib/datadog/profiling/*'
- 'lib/datadog/profiling/**/**'
- 'spec/datadog/profiling/*'
- 'spec/datadog/profiling/**/**'
- 'ext/**/**'

Layout/LineLength:
Max: 124
Expand Down
2 changes: 1 addition & 1 deletion spec/datadog/profiling/stack_recorder_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ def sample_allocation(obj)
# Sample allocations with 2 distinct stacktraces
if i.even?
sample_allocation(obj) # standard:disable Style/IdenticalConditionalBranches
else
else # rubocop:disable Lint/DuplicateBranch
sample_allocation(obj) # standard:disable Style/IdenticalConditionalBranches
end
@num_allocations += 1
Expand Down

0 comments on commit 2c5cbbc

Please sign in to comment.