ruff/crates/ruff_python_ast
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
..
src [flake8-annotations] Correct syntax for typing.Union in suggested return type fixes for ANN20x rules (#16025) 2025-02-07 17:17:20 -06:00
ast.toml Remove customizable reference enum names (#15647) 2025-01-21 13:46:31 -05:00
Cargo.toml Remove the optional salsa dependency from the AST crate (#14363) 2024-11-15 16:46:04 +00:00
generate.py Remove customizable reference enum names (#15647) 2025-01-21 13:46:31 -05:00