Skip to content

Conversation

brianschubert
Copy link
Member

c.f. #19217 (comment)

Disallowing functions without annotations (where not relevant to the tests) is probably a good idea, but this creates a large number of failures which would take some time to go through (many due to common issues, like untyped functions in the fixtures).

As a smaller step in the right direction, this sets check_untyped_defs = True for the run-* tests so that we at least check functions without annotations.

@brianschubert brianschubert requested a review from JukkaL September 4, 2025 14:42
Copy link
Collaborator

@JukkaL JukkaL left a comment

Choose a reason for hiding this comment

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

This is a good idea, though I'm hoping to annotate all test cases eventually (but this will take some work).

@JukkaL
Copy link
Collaborator

JukkaL commented Sep 5, 2025

I merged a change to mypyc weakref primitives and tests. Can you merge one more conflict? Then this should be good to go.

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