mirror of
https://github.com/astral-sh/ruff.git
synced 2025-11-15 02:10:22 +00:00
When suggesting a return type as a union in Python <=3.9, we now avoid a `TypeError` by correctly suggesting syntax like `Union[int,str,None]` instead of `Union[int | str | None]`. |
||
|---|---|---|
| .. | ||
| src | ||
| ast.toml | ||
| Cargo.toml | ||
| generate.py | ||