Skip to content
Commit d6b8912a authored by Josuah Demangeon's avatar Josuah Demangeon Committed by Benjamin Cabé
Browse files

scripts: ci: check_compliance: ruff: avoid mixing stdout and stderr



The python subprocess call had a stdout=subprocess.PIPE parameter that
redirects standard output to a pipe, and a stderr=subprocess.STDOUT
parameter that redirected stderr to the pipe. This mixed JSON and
non-JSON output together, and issued an exception. Fixing with
stderr=subprocess.DEVNULL to ignore standard error and only keep the
JSON output.

Signed-off-by: default avatarJosuah Demangeon <me@josuah.net>
parent c6cf9b9e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment