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

Migrate to RBS signatures supported by Sorbet #3222

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Migrate to RBS signatures supported by Sorbet #3222

wants to merge 5 commits into from

Conversation

Morriar
Copy link
Contributor

@Morriar Morriar commented Feb 20, 2025

This PRs bump our Sorbet version to v0.5.11842 so we can start using RBS comment signatures instead of the sig{} syntax 🎉

I migrated all the signatures using spoom srb sigs translate.

Note that for the moment we're not translating signatures that contain abstract.

@Morriar Morriar added the chore Chore task label Feb 20, 2025
@Morriar Morriar self-assigned this Feb 20, 2025
@Morriar Morriar requested a review from a team as a code owner February 20, 2025 22:39
Copy link

graphite-app bot commented Feb 20, 2025

How to use the Graphite Merge Queue

Add the label graphite-merge to this PR to add it to the merge queue.

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

@@ -87,7 +94,3 @@ Layout/ClassStructure:
- include
- prepend
- extend

Layout/LeadingCommentSpace:
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Just reordering by alphabetical order

@@ -87,7 +94,3 @@ Layout/ClassStructure:
- include
- prepend
- extend

Layout/LeadingCommentSpace:
Enabled: true
Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's already enabled by default

Signed-off-by: Alexandre Terrasa <[email protected]>
Using `spoom srb sigs translate`

Signed-off-by: Alexandre Terrasa <[email protected]>
@Morriar Morriar changed the title Migrate CodeDB to RBS signatures Migrate Ruby-LSP to RBS signatures Feb 21, 2025
@Morriar Morriar changed the title Migrate Ruby-LSP to RBS signatures Migrate to RBS signatures supported by Sorbet Feb 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Chore task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant