From 32bf02479b6335f3fe4bb969894d0429679a4423 Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Mon, 20 May 2024 15:57:03 +0200 Subject: [PATCH] Enable UP040 ruff check (#117792) --- pyproject.toml | 2 -- 1 file changed, 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index c54c2b97528..a97c4449a13 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -780,8 +780,6 @@ ignore = [ "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)` - # Ignored due to incompatible with mypy: https://github.com/python/mypy/issues/15238 - "UP040", # Checks for use of TypeAlias annotation for declaring type aliases. # May conflict with the formatter, https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules "W191",