fix ruff case E721 (#11121)

* fix ruff case E721

* add changelog frag
This commit is contained in:
Alexei Znamensky
2025-11-13 09:14:04 +13:00
committed by GitHub
parent 41923e43bd
commit c45fba549f
3 changed files with 4 additions and 3 deletions

View File

@@ -21,7 +21,6 @@ ignore = [
"B905", # zip-without-explicit-strict - needs Python 3.10+
"UP045", # Use `X | None` for type annotations - needs Python 3.10+
# To fix:
"E721", # Type comparison
"UP014", # Convert `xxx` from `NamedTuple` functional to class syntax
"UP024", # Replace aliased errors with `OSError`
"UP028", # Replace `yield` over `for` loop with `yield from`