-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[🚀 Feature]: Add rbs files to Ruby #10943
Comments
@titusfortner, thank you for creating this issue. We will troubleshoot it as soon as we can. Info for maintainersTriage this issue by using labels.
If information is missing, add a helpful comment and then
If the issue is a question, add the
If the issue is valid but there is no time to troubleshoot it, consider adding the
If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C),
add the applicable
After troubleshooting the issue, please add the Thank you! |
This issue is stale because it has been open 280 days with no activity. Remove stale label or comment or this will be closed in 14 days. |
This issue is looking for contributors. Please comment below or reach out to us through our IRC/Slack/Matrix channels if you are interested. |
Hi I would like to help out with this, I forked the repo and created a new PR to start adding RBS files |
That would be great, we'd appreciate the help with it. Hah, Sparkling Watir, I like it! You didn't have to fork it, though, you could have just taken over Tap Watir. 😁 |
Haha, it's good to know, I assumed people were really busy, so I thought the fork was the easiest way to have something working fast. But if it's okay, I could take over, I have a couple of PRs open in Tap Watir, which is just the extra stuff I added for Sparkling Watir, so I can update and merge them. And use Sparkling Watir for Desktop automation with Appium, which is something I have been playing with on another gem. |
Oh, I saw there were PRs at one point, and, well, life... |
We're making some great progress on this. Thanks to @aguspe / @Pexpe |
Hi @titusfortner thank you so much, right now I'm working on this draft: #13234, I added all the generated RBS files for all classes and modules, and then I'm fixing all the steep issues that originated, I added two screenshots there but hopefully after the holidays I will be able to wrap this PR up and put it for review |
Awesome! Is that PR everything, or how much more will still need to be worked on? |
That PR is everything, except the Bazel implementation, so after that PR we should be able to add steep to Bazel and have the type check implementation Also Happy new year! |
Just an update on this issue @titusfortner - I'm still working on it, currently there are 125 errors on 43 files, compared to the stat of 1558 errors on 151 files Several of the errors are related to other libraries we are using so I'm looking into which steep checks we can omit, and eventually making PRs for RBS on other libraries My goal is to hopefully put the PR up for review #13234, at the end of this month after I solve the rest of the errors and update all the undefined types I hope is not too much trouble for you and your team that the PR is so big |
I mean, if it passes whatever is the appropriate tests, I'm sure we'll get feedback and PRs for anything that isn't quite right. These are just a guide after all, right? 😄 Thanks for your work. |
Haha that's right, then I will drive this PR home by removing all the errors and starting making some PRs to get the right types and hopefully more people will jump in Have a great weekend |
This issue is stale because it has been open 280 days with no activity. Remove stale label or comment or this will be closed in 14 days. |
This issue was closed because it has been stalled for 14 days with no activity. |
Feature and motivation
We're adding Type hints to Python & looking at TypeScript for JS, the equivalent for Ruby is to add rbs files.
Ruby Selenium does a lot of meta-programming which makes it more difficult to use with an IDE like RubyMine. Adding rbs files, *should make this much easier.
Usage example
I think they'll look like this?
and then RubyMine and other IDEs will be able to do type hints, etc
The text was updated successfully, but these errors were encountered: