From 9dcfe70ce5965a53193533b037b3400105639eeb Mon Sep 17 00:00:00 2001 From: Lukasz Mrugala Date: Wed, 27 Nov 2024 18:56:43 +0000 Subject: [PATCH] scripts: Remove useless PyLint suppression Consider using with suppression became obsolte and should be removed. Signed-off-by: Lukasz Mrugala --- scripts/pylib/twister/twisterlib/jobserver.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/pylib/twister/twisterlib/jobserver.py b/scripts/pylib/twister/twisterlib/jobserver.py index 663e1b53e8f72a5..f66e6b08db01c5b 100644 --- a/scripts/pylib/twister/twisterlib/jobserver.py +++ b/scripts/pylib/twister/twisterlib/jobserver.py @@ -62,9 +62,7 @@ def popen(self, argv, **kwargs): kwargs["env"].update(self.env()) kwargs["pass_fds"] += self.pass_fds() - return subprocess.Popen( # pylint:disable=consider-using-with - argv, **kwargs - ) + return subprocess.Popen(argv, **kwargs) class GNUMakeJobClient(JobClient):