Skip to content

Conversation

thejchap
Copy link
Contributor

Summary

see discussion here: astral-sh/ty#876 (comment)

https://docs.python.org/3/library/enum.html#enum.StrEnum

Note Using auto with StrEnum results in the lower-cased member name as the value.

Test Plan

  • new mdtest
  • also, added a test to assert the (already correct) behavior for IntEnum

Copy link
Contributor

github-actions bot commented Sep 22, 2025

Diagnostic diff on typing conformance tests

No changes detected when running ty on typing conformance tests ✅

Copy link
Contributor

github-actions bot commented Sep 22, 2025

mypy_primer results

Changes were detected when running on open source projects
scikit-build-core (https://github.com/scikit-build/scikit-build-core)
+ src/scikit_build_core/build/_wheelfile.py:51:22: error[no-matching-overload] No overload of function `field` matches arguments
- Found 44 diagnostics
+ Found 45 diagnostics
No memory usage changes detected ✅

@thejchap thejchap marked this pull request as ready for review September 23, 2025 00:13
@MichaReiser MichaReiser added ty Multi-file analysis & type inference ecosystem-analyzer labels Sep 23, 2025
Copy link
Contributor

@sharkdp sharkdp 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 great — thank you very much!

@sharkdp sharkdp added the bug Something isn't working label Sep 23, 2025
@sharkdp sharkdp merged commit ef4df34 into astral-sh:main Sep 23, 2025
40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ecosystem-analyzer ty Multi-file analysis & type inference
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants