From 0b925a9cdbb76381bebc259e9f04dcaec0e38df0 Mon Sep 17 00:00:00 2001 From: Raphael Hehl <7577984+RaHehl@users.noreply.github.com> Date: Tue, 17 Nov 2026 10:22:02 +0100 Subject: [PATCH] Use the new name of ty's unsound-return rule ty 0.0.104 renamed unsound-return-statement to unsound-return and fails the type check on the old name. --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index b22ef260..d3082e2a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -139,7 +139,7 @@ known-first-party = [ dynamic-function-decorator-return = "error" missing-type-argument = "error" possibly-unresolved-reference = "warn" -unsound-return-statement = "error" +unsound-return = "error" [tool.ty.src] include = [