diff options
Diffstat (limited to 'test/lib/ansible_test/_internal/commands/sanity/shellcheck.py')
-rw-r--r-- | test/lib/ansible_test/_internal/commands/sanity/shellcheck.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/ansible_test/_internal/commands/sanity/shellcheck.py b/test/lib/ansible_test/_internal/commands/sanity/shellcheck.py index 2a8022d9be..7de0bdae87 100644 --- a/test/lib/ansible_test/_internal/commands/sanity/shellcheck.py +++ b/test/lib/ansible_test/_internal/commands/sanity/shellcheck.py @@ -49,7 +49,7 @@ class ShellcheckTest(SanityVersionNeutral): """Error code for ansible-test matching the format used by the underlying test program, or None if the program does not use error codes.""" return 'AT1000' - def filter_targets(self, targets: t.List[TestTarget]) -> t.List[TestTarget]: + def filter_targets(self, targets: list[TestTarget]) -> list[TestTarget]: """Return the given list of test targets, filtered to include only those relevant for the test.""" return [target for target in targets if os.path.splitext(target.path)[1] == '.sh'] |