aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/scripts/dirchanger.py
diff options
context:
space:
mode:
authorDaniel Mensinger <daniel@mensinger-ka.de>2020-08-29 21:23:43 +0200
committerDaniel Mensinger <daniel@mensinger-ka.de>2020-09-08 20:15:56 +0200
commita4f4379c44c7f13bc9e44bc01504077af1f3a338 (patch)
tree6f969b023a4311c7bad7b1dbdd61fa845cadfef3 /mesonbuild/scripts/dirchanger.py
parent0d57e307b2fea541a9ee368873431fe224e5c982 (diff)
downloadmeson-a4f4379c44c7f13bc9e44bc01504077af1f3a338.zip
meson-a4f4379c44c7f13bc9e44bc01504077af1f3a338.tar.gz
meson-a4f4379c44c7f13bc9e44bc01504077af1f3a338.tar.bz2
typing: fully annotate scripts
Diffstat (limited to 'mesonbuild/scripts/dirchanger.py')
-rw-r--r--mesonbuild/scripts/dirchanger.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/mesonbuild/scripts/dirchanger.py b/mesonbuild/scripts/dirchanger.py
index 3d7f4e2..21632cd 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:]