Ignore ruff UP045

This commit is contained in:
Dominik Jain authored and Dominik Jain committed 2025-08-07 13:41:45 +02:00
1 parent 7912ba4d91
commit dc5be9fad4
1 file changed
+1
+1
View File
@@ -235,6 +235,7 @@ ignore = [
"SIM117", # forbids nested with statements
"C400", # wants to unnecessarily force use of list comprehension
"UP037", # can incorrectly (!) convert quoted type to unquoted type, causing an error
"UP045", # imposes T | None instead of Optional[T]
]
unfixable = ["F841", "F601", "F602", "B018"]
extend-fixable = ["F401", "B905", "W291"]