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

Fixes #37425 - Fix Layout/ArgumentAlignment cop #10051

Merged
merged 1 commit into from
Oct 17, 2024

Conversation

archanaserver
Copy link
Contributor

@archanaserver archanaserver commented Feb 16, 2024

Resolved alignment inconsistencies flagged by the Layout/ArgumentAlignment cop across multiple files.

test/unit/net/dhcp_test.rb Outdated Show resolved Hide resolved
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.

theforeman-rubocop has the following style (https://github.com/theforeman/theforeman-rubocop/blob/a4e936fe00d4b839dc027b939f7d364b14faecd2/rules/style.yml#L4-L6):

Layout/ArgumentAlignment:
  EnforcedStyle: with_fixed_indentation
  IndentationWidth: 2

It would be good to copy this over to .rubocop.yml so no new violations are introduced before we upgrade. Then when we do upgrade, we can drop the config again.

Otherwise 👍 if you create a Redmine issue.

@archanaserver archanaserver changed the title Fix Layout/ArgumentAlignment cop Fixes #37425 - Fix Layout/ArgumentAlignment cop May 9, 2024
@archanaserver
Copy link
Contributor Author

@ekohl does the latest change looks good? then we can move to #9982

@ehelms ehelms merged commit 861a788 into theforeman:develop Oct 17, 2024
52 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants