Skip to content

Enable formula path helper cop#22845

Merged
MikeMcQuaid merged 1 commit into
mainfrom
formula-path-methods-enable-formulae
Jun 22, 2026
Merged

Enable formula path helper cop#22845
MikeMcQuaid merged 1 commit into
mainfrom
formula-path-methods-enable-formulae

Conversation

@MikeMcQuaid

Copy link
Copy Markdown
Member

Re-enable formula autocorrection after homebrew/core has been updated.


  • Have you followed our Contributing guidelines?
  • Have you checked for other open Pull Requests for the same change?
  • Have you explained what your changes do? Performance claims (e.g. "this is faster") must include Hyperfine benchmarks.
  • Have you explained why you'd like these changes included, not just what they do?
  • For bug fixes, have you given step-by-step brew commands to reproduce the bug?
  • Have you written new tests (excluding integration tests)? Here's an example.
  • Have you successfully run brew lgtm (style, typechecking and tests) locally?

  • AI was used to generate or assist with generating this PR.

OpenAI Codex 5.5 xhigh with local review.


@p-linnane p-linnane left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nice catch!

@MikeMcQuaid MikeMcQuaid force-pushed the formula-path-methods-cop branch from 0f390f3 to 47616ea Compare June 22, 2026 07:47
Base automatically changed from formula-path-methods-cop to main June 22, 2026 08:43
@MikeMcQuaid MikeMcQuaid enabled auto-merge June 22, 2026 15:44
Copilot AI review requested due to automatic review settings June 22, 2026 15:45
@MikeMcQuaid MikeMcQuaid force-pushed the formula-path-methods-enable-formulae branch from c4793ce to 7d161de Compare June 22, 2026 15:45

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 re-enables the Homebrew/FormulaPathMethods RuboCop cop by removing its temporary exclusion for Formula/**/*.rb, now that Homebrew/core has been updated to accommodate the autocorrections.

Changes:

  • Removes the Homebrew/FormulaPathMethods configuration block that excluded formula files from this cop.

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

- Re-enable formula autocorrection after Core has been updated.
- Include service blocks so formula helpers work in service DSLs.
@MikeMcQuaid MikeMcQuaid force-pushed the formula-path-methods-enable-formulae branch from 7d161de to c0ea3ca Compare June 22, 2026 16:53
@MikeMcQuaid MikeMcQuaid added this pull request to the merge queue Jun 22, 2026
Merged via the queue into main with commit 578c536 Jun 22, 2026
61 of 62 checks passed
@MikeMcQuaid MikeMcQuaid deleted the formula-path-methods-enable-formulae branch June 22, 2026 21:47
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.

3 participants