mirror of
https://github.com/astral-sh/ruff.git
synced 2025-12-04 01:36:46 +00:00
## Summary Add a new diagnostic hint if you try to use PEP 604 `X | Y` union syntax in a non-type-expression before 3.10. closes https://github.com/astral-sh/ty/issues/437 ## Test Plan New snapshot test |
||
|---|---|---|
| .. | ||
| resources | ||
| src | ||
| tests | ||
| build.rs | ||
| Cargo.toml | ||
| mdtest.py | ||
| mdtest.py.lock | ||