Skip to content

Conversation

@blast-hardcheese
Copy link
Contributor

Why

Ended up leaking a raw TypeExpression into generated code by forgetting this render call.

Also made the rest of these dataclasses throw when used incorrectly.

What changed

  • Fixed the bug
  • Made it impossible to happen again

Test plan

Describe what you did to test this change to a level of detail that allows your reviewer to test it

@blast-hardcheese blast-hardcheese requested a review from a team as a code owner February 15, 2025 03:04
@blast-hardcheese blast-hardcheese requested review from jackyzha0 and removed request for a team February 15, 2025 03:04
@blast-hardcheese blast-hardcheese force-pushed the dstewart/bug/forgot-type-render branch from 2a8e36d to a92d2be Compare February 15, 2025 03:20
@blast-hardcheese blast-hardcheese force-pushed the dstewart/bug/forgot-type-render branch from a92d2be to 783ea2e Compare February 15, 2025 03:41
@blast-hardcheese blast-hardcheese merged commit f255585 into main Feb 15, 2025
3 checks passed
@blast-hardcheese blast-hardcheese deleted the dstewart/bug/forgot-type-render branch February 15, 2025 03:43
@blast-hardcheese blast-hardcheese added the bug Something isn't working label Feb 15, 2025
blast-hardcheese added a commit that referenced this pull request Feb 15, 2025
Why
===

In an attempt at good quality-of-life tooling, I optimistically added a
`lint` command, invoked via `uv run lint`. I thought since I wasn't
shipping the `lint.py` I was safe, but it turns out I was shipping the
entrypoints via the package META.

What changed
============

- Convert `lint.py` into a proper local package, scoped to `[dev]`
- Fix two incorrect comparisons.

Test plan
=========

_Describe what you did to test this change to a level of detail that
allows your reviewer to test it_
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants