astral-sh
ruff
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
Narrow primitive Final value patterns precisely
lerebear/push-svyxxrmmnrkl
1 hour ago
Narrow primitive Final value patterns precisely
lerebear/push-svyxxrmmnrkl
2 hours ago
pyupgrade/UP031: fix false positive when reporting non-fixable format strings
Dev-X25874:fix/up031-non-fixable-diagnostic-range
2 hours ago
Narrow primitive Final value patterns precisely
lerebear/push-svyxxrmmnrkl
4 hours ago
fix: update literal limit test
Minibrams:main
8 hours ago
[ty] Ignore `_generate_next_value_` with custom construction hooks (#25210) ## Summary One oversight in my changes to https://github.com/astral-sh/ruff/pull/25196: if a custom `__new__` is defined, we should treat the alias value as `Any`, rather than relying on `_generate_next_value_`. This matches Pyright, for example. E.g., given: ```python class E(Enum): @staticmethod def _generate_next_value_(...) -> Literal["x"]: return "x" def __new__(cls, value: str): obj = object.__new__(cls) obj._value_ = object() return obj A = auto() B = auto() ``` Prior to this change, we treated `B` as an alias of `A`; but if `__new__` is defined, we don't attempt to detect the alias.
main
10 hours ago
Add quick fix to remove redundant cast
sqqueak:quick-fix-redundant-cast
12 hours ago
Only apply to custom news
charlie/gennextvalue
15 hours ago
Latest Branches
CodSpeed Performance Gauge
0%
[ty] Improve pattern matching support.
#25109
4 days ago
d0d0b61
lerebear/push-svyxxrmmnrkl
CodSpeed Performance Gauge
0%
pyupgrade/UP031: fix diagnostic range for non-convertible printf-style format strings
#25209
16 hours ago
903010c
Dev-X25874:fix/up031-non-fixable-diagnostic-range
CodSpeed Performance Gauge
-97%
[ty] Higher limit for number of non-recursive union literals
#25212
8 hours ago
0616e40
Minibrams:main
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs