Skip to content

Use anonymous keyword arguments forwarding in Types.standard#107

Merged
phelma merged 1 commit into
mainfrom
fix/rubocop-arguments-forwarding
Jul 23, 2026
Merged

Use anonymous keyword arguments forwarding in Types.standard#107
phelma merged 1 commit into
mainfrom
fix/rubocop-arguments-forwarding

Conversation

@phelma

@phelma phelma commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Fixes two pre-existing Style/ArgumentsForwarding offences in lib/ruby_git_crypt/options/types.rb that make rubocop fail on main.

This lint failure is blocking the check job on the GHA migration PR #106.

bundle exec rubocop and bundle exec rspec (157 examples) both pass on this branch.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Resolves RuboCop Style/ArgumentsForwarding lint failures by switching Types.standard to Ruby’s anonymous keyword-argument forwarding, unblocking CI (check job) on main and the GitHub Actions migration work.

Changes:

  • Update RubyGitCrypt::Options::Types.standard to use ** anonymous keyword argument forwarding in both the method signature and the Standard.new call.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@phelma
phelma merged commit b2dee06 into main Jul 23, 2026
1 check passed
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