astral-sh
ruff
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
Only apply to custom news
charlie/gennextvalue
1 hour ago
[ty] Ignore _generate_next_value_ with custom construction hooks
charlie/gennextvalue
1 hour ago
[ty] Support for custom `_generate_next_value_` in enums (#25196) ## Summary https://github.com/astral-sh/ty/issues/876 This PR adds support for custom `_generate_next_value_` methods on enums. When set, this return type will take precedence over inferred `auto()` member types unless an explicit `_value_` annotation is set. Falls back to `Any` if custom hooks (like `__init__`) are detected. References: - https://typing.python.org/en/latest/spec/enums.html#member-values - https://docs.python.org/3/library/enum.html#enum.Enum._generate_next_value_ ## Test Plan New mdtests --------- Co-authored-by: Charlie Marsh <charlie.r.marsh@gmail.com>
main
2 hours ago
Reduce indent
charlie/class-decorators
2 hours ago
Respect _generate_next_value_ for auto()
thejchap:thejchap/gennextvalue
2 hours ago
Back out some optimizations
charlie/class-decorators
3 hours ago
Update legacy insta snapshot format
InvalidPathException:main
12 hours ago
Update legacy insta snapshot format
InvalidPathException:main
12 hours ago
Latest Branches
CodSpeed Performance Gauge
0%
[ty] Ignore `_generate_next_value_` with custom construction hooks
#25210
1 hour ago
4d7e503
charlie/gennextvalue
CodSpeed Performance Gauge
0%
[ty] Support class decorators
#25091
2 hours ago
7b0226f
charlie/class-decorators
CodSpeed Performance Gauge
0%
[ty] Support for custom `_generate_next_value_` in enums
#25196
2 hours ago
b12a65b
thejchap:thejchap/gennextvalue
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs