From 2d61b549e432855f17a01a6479dfb19a9cebc04e Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Mon, 15 Jan 2024 09:39:53 +0800 Subject: [PATCH] Let 'ruff check --fix' always exit with zero (#2997) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c3d59ce6848..6a70b9d0028 100644 --- a/Makefile +++ b/Makefile @@ -60,7 +60,7 @@ test_no_images: PYTEST_ARGS=-o addopts="--verbose --durations=0 --durations-min= test_no_images: _runtest format: - ruff check --fix $(FORMAT_FILES) + ruff check --fix --exit-zero $(FORMAT_FILES) ruff format $(FORMAT_FILES) check: