Skip to content

feat(diagnostics): add source spans to W0401 warnings - #128

Merged
tmlmt merged 1 commit into
v3from
feat/span-w0401
Oct 30, 2026
Merged

tmlmt merged 1 commit into
v3from
feat/span-w0401

Conversation

@tmlmt

@tmlmt tmlmt commented Oct 30, 2026 •

Copy link
Copy Markdown
Owner

Description

Adds source locations to W0401 warnings when text and numeric quantities cannot be combined, so diagnostics can point to the relevant recipe mention. No dependencies are required.

Related Issue:

  • N/A

Type of change

  • New feature (non-breaking change which adds functionality)

Breaking Changes

None.

How Has This Been Tested?

On the combined branch:

  • pnpm test — passed (1,048 tests)
  • pnpm lint — passed (one existing warning in the VitePress config)

@tmlmt tmlmt mentioned this pull request Oct 30, 2026
3 tasks done

tmlmt commented Oct 30, 2026 •

Copy link
Copy Markdown
Owner Author

tmlmt commented Oct 30, 2026 •

Copy link
Copy Markdown
Owner Author

Merge activity

  • Oct 30, 7:50 PM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Oct 30, 7:54 PM UTC: Graphite rebased this pull request as part of a merge.
  • Oct 30, 7:54 PM UTC: @tmlmt merged this pull request with Graphite.

@tmlmt
tmlmt changed the base branch from fix/cookware-quantities-logic to graphite-base/128 October 30, 2026 19:51
@tmlmt
tmlmt changed the base branch from graphite-base/128 to v3 October 30, 2026 19:52
@tmlmt
tmlmt merged commit 3e9b72a into v3 Oct 30, 2026
4 checks passed
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.

1 participant