From a4f4379c44c7f13bc9e44bc01504077af1f3a338 Mon Sep 17 00:00:00 2001 From: Daniel Mensinger Date: Sat, 29 Aug 2020 21:23:43 +0200 Subject: typing: fully annotate scripts --- mesonbuild/scripts/dirchanger.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mesonbuild/scripts/dirchanger.py') diff --git a/mesonbuild/scripts/dirchanger.py b/mesonbuild/scripts/dirchanger.py index 3d7f4e24e..21632cd89 100644 --- a/mesonbuild/scripts/dirchanger.py +++ b/mesonbuild/scripts/dirchanger.py @@ -16,8 +16,9 @@ the command given in the rest of the arguments.''' import os, subprocess, sys +import typing as T -def run(args): +def run(args: T.List[str]) -> int: dirname = args[0] command = args[1:] -- cgit v1.2.3