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

Autocorrect some RuboCop offenses (III) #15153

Conversation

eduardoj
Copy link
Member

@eduardoj eduardoj commented Nov 2, 2023

No description provided.

@github-actions github-actions bot added Frontend Things related to the OBS RoR app Test Suite / CI 💉 Things related to our tests/CI labels Nov 2, 2023
@eduardoj eduardoj force-pushed the refactoring/rubocop_safe_autocorrections_iii branch 8 times, most recently from 419618a to f976205 Compare November 2, 2023 16:51
Copy link

codecov bot commented Nov 2, 2023

Codecov Report

Merging #15153 (615ba01) into master (12db0e8) will increase coverage by 0.00%.
The diff coverage is 91.66%.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##           master   #15153   +/-   ##
=======================================
  Coverage   87.60%   87.60%           
=======================================
  Files         778      778           
  Lines       25617    25562   -55     
=======================================
- Hits        22441    22394   -47     
+ Misses       3176     3168    -8     

@eduardoj eduardoj marked this pull request as ready for review November 2, 2023 17:13
@danidoni
Copy link
Contributor

danidoni commented Nov 3, 2023

Can we do something about the issues CodeClimate is complaining about?

@eduardoj
Copy link
Member Author

eduardoj commented Nov 3, 2023

Can we do something about the issues CodeClimate is complaining about?

codeclimate reports 9 issues fixed and 2 new issues to fix. Those 2 new issues have poped up after refactoring the code. I would say they are in fact the same as before.

@eduardoj eduardoj force-pushed the refactoring/rubocop_safe_autocorrections_iii branch 2 times, most recently from 5644943 to 0d00468 Compare November 3, 2023 09:55
@eduardoj eduardoj force-pushed the refactoring/rubocop_safe_autocorrections_iii branch from 0d00468 to a82c6ad Compare November 3, 2023 11:14
Correcting Style/SoleNestedConditional offenses introduced other types
of offenses. Add those new offenses to the TODO.
@eduardoj eduardoj force-pushed the refactoring/rubocop_safe_autocorrections_iii branch from a82c6ad to d69e686 Compare November 3, 2023 11:44
Don't consider migration what is outside db/migrate/ or db/data/, or
their schema files.
@eduardoj
Copy link
Member Author

eduardoj commented Nov 3, 2023

@danidoni, I needed to rebase on master.

After that, new Lint/RedundantCopDisableDirective RuboCop offenses appeared. I added a commit to fix them.

I also added a commit to improve the definition of migrations for the "Isolated Migrations" GitHub action.

Please take a look again.

@eduardoj
Copy link
Member Author

eduardoj commented Nov 3, 2023

I approved the two codeclime issues. Merging.

@eduardoj eduardoj merged commit 2d7536f into openSUSE:master Nov 3, 2023
21 checks passed
@eduardoj eduardoj deleted the refactoring/rubocop_safe_autocorrections_iii branch November 3, 2023 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Frontend Things related to the OBS RoR app Test Suite / CI 💉 Things related to our tests/CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants