diff --git a/scripts/ci/check_compliance.py b/scripts/ci/check_compliance.py index 40b90e2aa39..8c34c1d6899 100755 --- a/scripts/ci/check_compliance.py +++ b/scripts/ci/check_compliance.py @@ -1657,7 +1657,7 @@ class Ruff(ComplianceTest): f"ruff check --force-exclude --output-format=json {file}", check=True, stdout=subprocess.PIPE, - stderr=subprocess.STDOUT, + stderr=subprocess.DEVNULL, shell=True, cwd=GIT_TOP, )