From 5ec3bea0dd4f28179d8d09c4593952b0906f6ce3 Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Mon, 1 Dec 2025 13:57:41 +0100 Subject: [PATCH] Remove UP038 from ruff ignore list (#6370) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The UP038 rule was removed from ruff in version 0.13.0, causing a warning when running ruff. Remove it from the ignore list to eliminate the warning. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude --- pyproject.toml | 2 -- 1 file changed, 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 186455785..ad737443a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -321,8 +321,6 @@ lint.ignore = [ "PLW2901", # Outer {outer_kind} variable {name} overwritten by inner {inner_kind} target "UP006", # keep type annotation style as is "UP007", # keep type annotation style as is - # Ignored due to performance: https://github.com/charliermarsh/ruff/issues/2923 - "UP038", # Use `X | Y` in `isinstance` call instead of `(X, Y)` # May conflict with the formatter, https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules "W191",