From 66da58a5bd0a3341b429c73881c5ad41a4d133cc Mon Sep 17 00:00:00 2001 From: Milan Kriz Date: Thu, 8 Apr 2021 08:43:12 +0200 Subject: [PATCH] Improve handling of PYLINT_EXTRA_ARGS in Python tests --- test/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/tests.py b/test/tests.py index 4a7bcef17..fc4d9ec65 100644 --- a/test/tests.py +++ b/test/tests.py @@ -147,7 +147,7 @@ def _runPylint(sources, options, disableOption=None): pylintOptions.append("--disable=%s" % disableOption) if "PYLINT_EXTRA_ARGS" in os.environ: - pylintOptions.append(os.environ["PYLINT_EXTRA_ARGS"]) + pylintOptions += os.environ["PYLINT_EXTRA_ARGS"].split() pylintRunner = pylint.lint.Run(pylintOptions, do_exit=False) if pylintRunner.linter.msg_status: