diff --git a/crates/ruff_linter/src/rules/pyupgrade/rules/deprecated_import.rs b/crates/ruff_linter/src/rules/pyupgrade/rules/deprecated_import.rs index 01e7e35f6775ae..6efbc038d89426 100644 --- a/crates/ruff_linter/src/rules/pyupgrade/rules/deprecated_import.rs +++ b/crates/ruff_linter/src/rules/pyupgrade/rules/deprecated_import.rs @@ -342,11 +342,13 @@ const TYPING_EXTENSIONS_TO_TYPING_312: &[&str] = &[ "SupportsFloat", "SupportsInt", "SupportsRound", + "TypeAliasType", "TypedDict", "Unpack", // Introduced in Python 3.11, but `typing_extensions` backports the `frozen_default` argument, // which was introduced in Python 3.12. "dataclass_transform", + "override", ]; struct ImportReplacer<'a> {