From fa6957d73a3e62527c757369c43cd9fc525d9e7a Mon Sep 17 00:00:00 2001 From: Tom Scholten Date: Tue, 7 Oct 2025 21:09:55 +0200 Subject: [PATCH] Remove UP038 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index b77a7d9..f8a98ed 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -708,7 +708,7 @@ ignore = [ "TRY003", # Avoid specifying long messages outside the exception class "TRY400", # Use `logging.exception` instead of `logging.error` # Ignored due to performance: https://github.com/charliermarsh/ruff/issues/2923 - "UP038", # Use `X | Y` in `isinstance` call instead of `(X, Y)` + # "UP038", # Use `X | Y` in `isinstance` call instead of `(X, Y)` "UP046", # Non PEP 695 generic class "UP047", # Non PEP 696 generic function "UP049", # Avoid private type parameter names