Files
ruff/crates/ruff_python_ast/src
Dylan 3a806ecaa1 [flake8-annotations] Correct syntax for typing.Union in suggested return type fixes for ANN20x rules (#16025)
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]`.
2025-02-07 17:17:20 -06:00
..
2025-01-17 17:11:00 -05:00
2023-08-07 16:04:50 +00:00
2024-10-20 22:25:27 +01:00