mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-28 14:39:07 +00:00
[PR #11121/c45fba54 backport][stable-12] fix ruff case E721 (#11133)
fix ruff case E721 (#11121)
* fix ruff case E721
* add changelog frag
(cherry picked from commit c45fba549f)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
parent
1d28e48d85
commit
ac6c6df2c7
3 changed files with 4 additions and 3 deletions
|
|
@ -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`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue