mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-03-26 21:33:12 +00:00
Address UP014: use NamedTuple class syntax (#11168)
* Address UP014: use NamedTuple class syntax. * Convert type comments to type hints.
This commit is contained in:
@@ -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:
|
||||
"UP014", # Convert `xxx` from `NamedTuple` functional to class syntax
|
||||
"UP024", # Replace aliased errors with `OSError`
|
||||
"UP030", # Use implicit references for positional format fields
|
||||
"UP031", # Use format specifiers instead of percent format
|
||||
|
||||
Reference in New Issue
Block a user