Skip to content

Conversation

@cho-m
Copy link
Member

@cho-m cho-m commented Nov 30, 2025

  • 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 lgtm (style, typechecking and tests) with your changes locally?

Copilot AI review requested due to automatic review settings November 30, 2025 20:20
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR converts Library/Homebrew/formula_versions.rb from typed: true to typed: strict Sorbet mode, adding comprehensive type annotations throughout the file to satisfy stricter type checking requirements.

Key Changes:

  • Updated Sorbet sigil from typed: true to typed: strict
  • Added T.let type annotations for all instance variables in the initializer
  • Added type signatures for attr_reader methods and the nostdout helper method
  • Enhanced the rev_list method signature to properly type the block parameter

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

@cho-m cho-m force-pushed the formula_versions-strict-type branch from 63f7dbb to b7eb7cc Compare November 30, 2025 20:33
Copy link
Member

@MikeMcQuaid MikeMcQuaid left a comment

Choose a reason for hiding this comment

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

Thanks again @cho-m!

@MikeMcQuaid MikeMcQuaid added this pull request to the merge queue Dec 1, 2025
Merged via the queue into main with commit a09a5e8 Dec 1, 2025
35 checks passed
@MikeMcQuaid MikeMcQuaid deleted the formula_versions-strict-type branch December 1, 2025 09:32
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.

5 participants