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

Linting and code cleanup #2504

Merged
merged 30 commits into from Mar 21, 2024
Merged

Linting and code cleanup #2504

merged 30 commits into from Mar 21, 2024

Conversation

aramprice
Copy link
Member

@aramprice aramprice commented Mar 12, 2024

NOTE: it may be easiest to review this change on a per-commit basis, rather than as one large change as each commit is small and has a (hopefully) helpful commit message.


What is this change about?

Cleaning up some linting, code clarity, and spelling issues.

Please provide contextual information.

This PR is a holding place for issues discovered in #2501 which should be addressed. I pulled them out here so as not to complicate the other PR.

What tests have you run against this PR?

be rake fly:unit
DB=mysql DB_VERSION=5.7 be rake fly:unit
DB=mysql DB_VERSION=5.7 be rake fly:integration

How should this change be described in bosh release notes?

Code cleanup

Does this PR introduce a breaking change?

No.

@aramprice aramprice force-pushed the linting-and-code-cleanup branch 2 times, most recently from 0c08808 to 7ca7807 Compare March 14, 2024 21:35
Addresses:
```
WARNING: Using the `raise_error` matcher without providing a specific
error or message risks false positives, since `raise_error` will match
when Ruby raises a `NoMethodError`, `NameError` or `ArgumentError`,
potentially allowing the expectation to pass without even executing the
method you are intending to call.
```
in the case of `spec/assets/uaa_config/asymmetric/uaa.yml` the last
`hm:` key containing the most information was retained.
@aramprice aramprice marked this pull request as ready for review March 18, 2024 21:49
Copy link
Member

@lnguyen lnguyen left a comment

Choose a reason for hiding this comment

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

LGTM

@jpalermo jpalermo merged commit f60c2a5 into main Mar 21, 2024
4 checks passed
@jpalermo jpalermo deleted the linting-and-code-cleanup branch March 21, 2024 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants