diff options
author | Abhijeet Kasurde <akasurde@redhat.com> | 2024-03-21 16:40:16 +0100 |
---|---|---|
committer | Matt Clay <matt@mystile.com> | 2024-03-21 17:54:24 +0100 |
commit | 8eabeefa6328343866f6d1686d23d7df1a159fb7 (patch) | |
tree | 1936bae28914c3ed15e82e1d0cf084a72a404c46 | |
parent | pylint: update for use-yield-from (diff) | |
download | ansible-8eabeefa6328343866f6d1686d23d7df1a159fb7.tar.xz ansible-8eabeefa6328343866f6d1686d23d7df1a159fb7.zip |
mypy: update code required to bump sanity requirements
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
-rw-r--r-- | test/lib/ansible_test/_internal/util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/ansible_test/_internal/util.py b/test/lib/ansible_test/_internal/util.py index 394c2632d4..903cbcc50a 100644 --- a/test/lib/ansible_test/_internal/util.py +++ b/test/lib/ansible_test/_internal/util.py @@ -998,7 +998,7 @@ def retry(func: t.Callable[..., TValue], ex_type: t.Type[BaseException] = Subpro def parse_to_list_of_dict(pattern: str, value: str) -> list[dict[str, str]]: """Parse lines from the given value using the specified pattern and return the extracted list of key/value pair dictionaries.""" matched = [] - unmatched = [] + unmatched: list[str] = [] for line in value.splitlines(): match = re.search(pattern, line) |