summaryrefslogtreecommitdiff
path: root/test/lib/ansible_test/_internal/payload.py
diff options
context:
space:
mode:
authorMatt Clay <matt@mystile.com>2022-08-04 12:15:46 -0700
committerGitHub <noreply@github.com>2022-08-04 12:15:46 -0700
commitb993b5cd49662f715774c333ce98e2845227ab66 (patch)
tree440b4073063fda4e05b972e4157c429d03ba38e9 /test/lib/ansible_test/_internal/payload.py
parent2218b63aefc558ff967a8597a1dc9c4c5f88e27c (diff)
downloadansible-b993b5cd49662f715774c333ce98e2845227ab66.tar.gz
ansible-test - Convert more type hints. (#78449)
* Simple regex replace of multi-line function arg annotations. * Simple regex replace of multi-line function arg annotations with default values. * Simple regex replace of multi-line function arg return annotations. * Simple regex replace of assignment annotations.
Diffstat (limited to 'test/lib/ansible_test/_internal/payload.py')
-rw-r--r--test/lib/ansible_test/_internal/payload.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lib/ansible_test/_internal/payload.py b/test/lib/ansible_test/_internal/payload.py
index 3f342fd2ec..c41cdb8bde 100644
--- a/test/lib/ansible_test/_internal/payload.py
+++ b/test/lib/ansible_test/_internal/payload.py
@@ -69,8 +69,8 @@ def create_payload(args: CommonConfig, dst_path: str) -> None:
collection_layouts = data_context().create_collection_layouts()
- content_files = [] # type: t.List[t.Tuple[str, str]]
- extra_files = [] # type: t.List[t.Tuple[str, str]]
+ content_files: t.List[t.Tuple[str, str]] = []
+ extra_files: t.List[t.Tuple[str, str]] = []
for layout in collection_layouts:
if layout == data_context().content: