Skip to content

THRIFT-4526: Added Rubocop harness to enforce Ruby code style#3333

Open
kpumuk wants to merge 1 commit intoapache:masterfrom
kpumuk:rubocop
Open

THRIFT-4526: Added Rubocop harness to enforce Ruby code style#3333
kpumuk wants to merge 1 commit intoapache:masterfrom
kpumuk:rubocop

Conversation

@kpumuk
Copy link
Contributor

@kpumuk kpumuk commented Mar 8, 2026

In this PR we introduce Rubocop harness for all Ruby code in the repository (Ruby library, integration tests, tutorials). All the rules are intentionally disabled at the moment, the goal is to gradually introduce them, while cleaning up the codebase to bring it up to a consistent standard.

Canonical Rubocop configuration will be stored in lib/rb/.rubocop.yml‎.

  • Did you create an Apache Jira ticket? THRIFT-4526
  • If a ticket exists: Does your pull request title follow the pattern "THRIFT-NNNN: describe my issue"?
  • Did you squash your changes to a single commit? (not required, but preferred)
  • Did you do your best to avoid breaking changes? If one was needed, did you label the Jira ticket with "Breaking-Change"?
  • If your change does not involve any code, include [skip ci] anywhere in the commit message to free up build resources.

@kpumuk kpumuk changed the title Added Rubocop harness to enforce Ruby code style THRIFT-4526: Added Rubocop harness to enforce Ruby code style Mar 8, 2026
@mergeable mergeable bot added ruby github_actions Pull requests that update GitHub Actions code labels Mar 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

github_actions Pull requests that update GitHub Actions code ruby

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant