diff --git a/test/runner/lib/executor.py b/test/runner/lib/executor.py index 7479aeba39..eb8c2bd14a 100644 --- a/test/runner/lib/executor.py +++ b/test/runner/lib/executor.py @@ -841,7 +841,7 @@ def compile_version(args, python_version, include, exclude): :type args: CompileConfig :type python_version: str :type include: tuple[CompletionTarget] - :param exclude: tuple[CompletionTarget] + :type exclude: tuple[CompletionTarget] :rtype: TestResult """ command = 'compile' diff --git a/test/runner/lib/git.py b/test/runner/lib/git.py index 469dab3c92..f34b0ee42d 100644 --- a/test/runner/lib/git.py +++ b/test/runner/lib/git.py @@ -79,8 +79,8 @@ class Git(object): def run_git_split(self, cmd, separator=None, str_errors='strict'): """ :type cmd: list[str] - :param separator: str | None - :type str_errors: 'strict' | 'replace' + :type separator: str | None + :type str_errors: str :rtype: list[str] """ output = self.run_git(cmd, str_errors=str_errors).strip(separator) @@ -93,7 +93,7 @@ class Git(object): def run_git(self, cmd, str_errors='strict'): """ :type cmd: list[str] - :type str_errors: 'strict' | 'replace' + :type str_errors: str :rtype: str """ return run_command(self.args, [self.git] + cmd, capture=True, always=True, str_errors=str_errors)[0] diff --git a/test/runner/lib/target.py b/test/runner/lib/target.py index b3875ae03f..da8a3f5081 100644 --- a/test/runner/lib/target.py +++ b/test/runner/lib/target.py @@ -312,7 +312,7 @@ def walk_test_targets(path=None, module_path=None, extensions=None, prefix=None) def analyze_integration_target_dependencies(integration_targets): """ - :type: list[IntegrationTarget] + :type integration_targets: list[IntegrationTarget] :rtype: dict[str,set[str]] """ hidden_role_target_names = set(t.name for t in integration_targets if t.type == 'role' and 'hidden/' in t.aliases) diff --git a/test/runner/lib/util.py b/test/runner/lib/util.py index 7d2e14beed..a7eb55f266 100644 --- a/test/runner/lib/util.py +++ b/test/runner/lib/util.py @@ -93,7 +93,7 @@ def run_command(args, cmd, capture=False, env=None, data=None, cwd=None, always= :type stdin: file | None :type stdout: file | None :type cmd_verbosity: int - :type str_errors: 'strict' | 'replace' + :type str_errors: str :rtype: str | None, str | None """ explain = args.explain and not always @@ -113,7 +113,7 @@ def raw_command(cmd, capture=False, env=None, data=None, cwd=None, explain=False :type stdin: file | None :type stdout: file | None :type cmd_verbosity: int - :type str_errors: 'strict' | 'replace' + :type str_errors: str :rtype: str | None, str | None """ if not cwd: