Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rubocop: Enable Naming/VariableNumber #1877

Merged
merged 1 commit into from
May 11, 2024

Conversation

bastelfreak
Copy link
Member

I would like to clean up our .rubocop.yaml to follow our standards. I think enabling this cop makes sense, except for the determine_if_x86_64 method. rubocop prefers determine_if_x8664 but since x86_64 is it's own name I disable the cop for this function.

@bastelfreak bastelfreak self-assigned this May 10, 2024
Copy link
Member

@ekohl ekohl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd prefer to use either AllowedIdentifiers or AllowedPatterns rather than disabling every instance.

lib/beaker/host/mac/pkg.rb Outdated Show resolved Hide resolved
@bastelfreak bastelfreak force-pushed the rubocop3 branch 2 times, most recently from f687422 to 96590f7 Compare May 11, 2024 14:30
Copy link

codecov bot commented May 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 74.31%. Comparing base (b717772) to head (96590f7).
Report is 2 commits behind head on master.

❗ Current head 96590f7 differs from pull request most recent head 16284c9. Consider uploading reports for the commit 16284c9 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1877      +/-   ##
==========================================
+ Coverage   74.29%   74.31%   +0.01%     
==========================================
  Files          79       79              
  Lines        4396     4399       +3     
==========================================
+ Hits         3266     3269       +3     
  Misses       1130     1130              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

I would like to clean up our .rubocop.yaml to follow our standards. I
think enabling this cop makes sense, except for the
`determine_if_x86_64` method. rubocop prefers `determine_if_x8664` but
since `x86_64` is it's own name I disable the cop for this function.
@bastelfreak bastelfreak merged commit 3cfd666 into voxpupuli:master May 11, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants