Enable UP040 ruff check (#117792)
This commit is contained in:
parent
7f92ee5e04
commit
32bf02479b
1 changed files with 0 additions and 2 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Reference in a new issue