From 11dec13a1933159be6bee160f899b39970b64d06 Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Fri, 10 Nov 2023 14:01:28 -0500 Subject: [PATCH] mtest: -C argument does not need type convertor It is already done by RealPathAction and mypy started complaining about it. --- mesonbuild/mtest.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/mesonbuild/mtest.py b/mesonbuild/mtest.py index c1ce1e09e..b7d2bc6cf 100644 --- a/mesonbuild/mtest.py +++ b/mesonbuild/mtest.py @@ -143,9 +143,6 @@ def add_arguments(parser: argparse.ArgumentParser) -> None: parser.add_argument('--wrapper', default=None, dest='wrapper', type=split_args, help='wrapper to run tests with (e.g. Valgrind)') parser.add_argument('-C', dest='wd', action=RealPathAction, - # https://github.com/python/typeshed/issues/3107 - # https://github.com/python/mypy/issues/7177 - type=os.path.abspath, # type: ignore help='directory to cd into before running') parser.add_argument('--suite', default=[], dest='include_suites', action='append', metavar='SUITE', help='Only run tests belonging to the given suite.')