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

Organize and update rubocop #406

Merged
merged 2 commits into from
Jan 23, 2024
Merged

Organize and update rubocop #406

merged 2 commits into from
Jan 23, 2024

Conversation

ydah
Copy link
Member

@ydah ydah commented Jan 23, 2024

RuboCop was fixed to an older version due to supporting Ruby 2.4 at that time. However, it currently supports versions 2.7 and above, so the version constraint has been removed. Additionally, unused and unnecessary extensions were removed, suppressing the following warnings.

❯ bundle exec rubocop
Inspecting 81 files
.................................................................................

81 files inspected, no offenses detected

The following RuboCop extension libraries are installed but not loaded in config:
  * rubocop-minitest
  * rubocop-rake

base64 is loaded from the standard library, but will no longer be part of the default gems since Ruby 3.4.0.
Although rubocop so far depends on base64, rubocop has not been added to the runtime dependency so far. So, rubocop will not work on Ruby heads with rubocop prior to v1.56.0. So it is a good to keep the version up to date.

https://github.com/interagent/committee/actions/runs/7624721002/job/20767482497?pr=404#step:4:5

```
❯ bundle exec rubocop
Inspecting 81 files
.................................................................................

81 files inspected, no offenses detected

The following RuboCop extension libraries are installed but not loaded in config:
  * rubocop-minitest
  * rubocop-rake
```
@ydah ydah changed the title Organize about rubocop Organize and update rubocop Jan 23, 2024
@ydah ydah mentioned this pull request Jan 23, 2024
Copy link
Member

@brandur brandur left a comment

Choose a reason for hiding this comment

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

Great, thanks! (And thanks for the detailed PR description.)

@brandur brandur merged commit ffac99f into interagent:master Jan 23, 2024
6 checks passed
@ydah ydah deleted the for-rubocop branch January 23, 2024 22:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants