We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05ad42a commit f74e0b3Copy full SHA for f74e0b3
crates/ty_python_semantic/resources/mdtest/enums.md
@@ -386,7 +386,10 @@ reveal_type(Answer.YES.value) # revealed: Literal[1]
386
reveal_type(Answer.NO.value) # revealed: Literal[2]
387
```
388
389
-Using `auto()` with non-integer mixins:
+It's [hard to predict](https://github.com/astral-sh/ruff/pull/20541#discussion_r2381878613) what the
390
+effect of using `auto()` will be for an arbitrary non-integer mixin, so for anything that isn't a
391
+`StrEnum` and has a non-`int` mixin, we simply fallback to typeshed's annotation of `Any` for the
392
+`value` property:
393
394
```python
395
from enum import Enum, auto
0 commit comments