Skip to content

Commit

Permalink
scripts: Remove useless PyLint suppression
Browse files Browse the repository at this point in the history
Consider using with suppression became
obsolte and should be removed.

Signed-off-by: Lukasz Mrugala <[email protected]>
  • Loading branch information
LukaszMrugala committed Nov 27, 2024
1 parent 5a32bba commit 9dcfe70
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions scripts/pylib/twister/twisterlib/jobserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 9dcfe70

Please sign in to comment.