aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/scripts/delwithsuffix.py
diff options
context:
space:
mode:
Diffstat (limited to 'mesonbuild/scripts/delwithsuffix.py')
-rw-r--r--mesonbuild/scripts/delwithsuffix.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/mesonbuild/scripts/delwithsuffix.py b/mesonbuild/scripts/delwithsuffix.py
index 0d410ae..873db0d 100644
--- a/mesonbuild/scripts/delwithsuffix.py
+++ b/mesonbuild/scripts/delwithsuffix.py
@@ -13,8 +13,9 @@
# limitations under the License.
import os, sys
+import typing as T
-def run(args):
+def run(args: T.List[str]) -> int:
if len(args) != 2:
print('delwithsuffix.py <root of subdir to process> <suffix to delete>')
sys.exit(1)