mirror of https://github.com/astral-sh/ruff
## Summary Add support for `typing.Union` in implicit type aliases / in value position. ## Typing conformance tests Two new tests are passing ## Ecosystem impact * The 2k new `invalid-key` diagnostics on pydantic are caused by https://github.com/astral-sh/ty/issues/1479#issuecomment-3513854645. * Everything else I've checked is either a known limitation (often related to type narrowing, because union types are often narrowed down to a subset of options), or a true positive. ## Test Plan New Markdown tests |
||
|---|---|---|
| .. | ||
| formatter.rs | ||
| lexer.rs | ||
| linter.rs | ||
| parser.rs | ||
| ty.rs | ||
| ty_walltime.rs | ||