From 44e5f89119ea8f34ba44ada3c050ca2efecbe874 Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Wed, 18 Jun 2025 13:27:13 +0500 Subject: [PATCH] ruff 0.12 - ignore UP045 Kind of acts the same as UP007 asking to convert all Optional[xxx] to X | None --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 97daf7ca4b..83ef5d8442 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -52,6 +52,7 @@ ignore = [ "FA100", # Conflicts with Blender using annotations for props definitions. # Maybe will enable later: "UP007", # Optional to X | Y + "UP045", # Optional to X | None "UP015", # Unnecessary mode argument "UP028", # yield for -> yield from "UP030", # implicit references for positional format fields