ruff 0.12 - ignore UP045

Kind of acts the same as UP007 asking to convert all Optional[xxx] to X | None
This commit is contained in:
Andrej730
2025-06-18 13:27:13 +05:00
parent c68b0c7280
commit 44e5f89119
+1
View File
@@ -52,6 +52,7 @@ ignore = [
"FA100", # Conflicts with Blender using annotations for props definitions. "FA100", # Conflicts with Blender using annotations for props definitions.
# Maybe will enable later: # Maybe will enable later:
"UP007", # Optional to X | Y "UP007", # Optional to X | Y
"UP045", # Optional to X | None
"UP015", # Unnecessary mode argument "UP015", # Unnecessary mode argument
"UP028", # yield for -> yield from "UP028", # yield for -> yield from
"UP030", # implicit references for positional format fields "UP030", # implicit references for positional format fields