-
Notifications
You must be signed in to change notification settings - Fork 375
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
[NO-TICKET] Fix rubocop lint #4062
Conversation
**What does this PR do?** This PR moves the `start_worker` and `stop_worker` to the `private` section of `writer.rb`. It does this instead of using `private :start_worker, :stop_worker` to make rubocop happy. **Motivation:** Unbreak rubocop in master. **Additional Notes:** I thought we had pinned down the version of rubocop in CI, but it appears we have a gap. I've not investigated further. **How to test the change?** Validate that the lint check in CI is back to green.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👏🏼
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM (but am not Ruby dev 😄 )
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #4062 +/- ##
=======================================
Coverage 97.72% 97.73%
=======================================
Files 1338 1338
Lines 80249 80249
Branches 4016 4016
=======================================
+ Hits 78422 78429 +7
+ Misses 1827 1820 -7 ☔ View full report in Codecov by Sentry. |
BenchmarksBenchmark execution time: 2024-11-04 13:34:00 Comparing candidate commit f208359 in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 29 metrics, 2 unstable metrics. |
What does this PR do?
This PR moves the
start_worker
andstop_worker
to theprivate
section ofwriter.rb
.It does this instead of using
private :start_worker, :stop_worker
to make rubocop happy.Motivation:
Unbreak rubocop in master.
Change log entry
(Not relevant)
Additional Notes:
I thought we had pinned down the version of rubocop in CI, but it appears we have a gap. I've not investigated further.
How to test the change?
Validate that the lint check in CI is back to green.