Skip to content

dev-cmd/typecheck: Update the Sorbet TODO file in --update-definitions #8664

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

Merged
merged 1 commit into from
Sep 9, 2020

Conversation

issyl0
Copy link
Member

@issyl0 issyl0 commented Sep 9, 2020

  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same change?
  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you written new tests for your changes? Here's an example.
  • Have you successfully run brew style with your changes locally?
  • Have you successfully run brew tests with your changes locally?

  • Sorbet's TODO file is useful to be periodically regenerated when we're trying to deal with typing errors. The result is an updated sorbet/rbi/todo.rbi file that defines missing constants. During GSoC, we did update this file on occasional Tapioca updates, according to the history. That suggests to me that it should be part of this command.

Sorry, something went wrong.

@issyl0 issyl0 requested a review from vidusheeamoli September 9, 2020 18:00

Verified

This commit was signed with the committer’s verified signature.
issyl0 Issy Long
- [Sorbet's TODO file](https://sorbet.org/docs/rbi#the-todo-rbi-file) is
  useful to be periodically regenerated when we're trying to deal with
  typing errors. The result is an updated `sorbet/rbi/todo.rbi` file that
  defines missing constants. During GSoC, we [did update this file on
  occasional Tapioca updates](https://github.com/Homebrew/brew/blame/master/Library/Homebrew/sorbet/rbi/todo.rbi),
  according to the history. That suggests to me that it should be part of
  this command.
@issyl0 issyl0 force-pushed the typecheck-update-todo-file branch from ecef35a to 42a4e86 Compare September 9, 2020 18:06
@issyl0
Copy link
Member Author

issyl0 commented Sep 9, 2020

For some stats, regenerating this file takes us from 40 errors (some of which are about the spoom gem and will be fixed in the next Tapioca version) to 36 errors.

@vidusheeamoli
Copy link
Contributor

Looks good to me. Thank you @issyl0! 👏🏽

@issyl0 issyl0 merged commit 1654de3 into Homebrew:master Sep 9, 2020
@issyl0 issyl0 deleted the typecheck-update-todo-file branch September 9, 2020 18:42
@BrewTestBot BrewTestBot added the outdated PR was locked due to age label Dec 13, 2020
@Homebrew Homebrew locked as resolved and limited conversation to collaborators Dec 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
outdated PR was locked due to age
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants