astral-sh / ruff

An extremely fast Python linter and code formatter, written in Rust.
https://docs.astral.sh/ruff
MIT License
33.11k stars 1.11k forks source link

[red-knot] support `typing.Union` in type annotations #14499

Closed Glyphack closed 5 days ago

Glyphack commented 5 days ago

Fix #14498

Summary

This PR adds typing.Union support

Test Plan

I created new tests in mdtest.

Glyphack commented 5 days ago

Is it possible to auto tag my PR as redknot by using a specific word in the description or title?

github-actions[bot] commented 5 days ago

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

carljm commented 5 days ago

Is it possible to auto tag my PR as redknot by using a specific word in the description or title?

No, unfortunately we don't have anything like that set up. It would be nice to have!

carljm commented 5 days ago

Noticed a couple more small changes on reviewing the latest, pushed those too...