From b044d980487d6bfffb829a5cc4f2a4bbf95c1bc9 Mon Sep 17 00:00:00 2001 From: ovsds Date: Thu, 16 Nov 2023 16:51:57 +0100 Subject: [PATCH] ci: make git diff quiet --- tools/taskfiles/taskfile_code_quality.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/taskfiles/taskfile_code_quality.yml b/tools/taskfiles/taskfile_code_quality.yml index 299fb6791..eb643aa15 100644 --- a/tools/taskfiles/taskfile_code_quality.yml +++ b/tools/taskfiles/taskfile_code_quality.yml @@ -20,10 +20,10 @@ vars: # Files changed since last commit CHANGED_PY_SINGLE_LINE: - sh: cd {{.ROOT_DIR}} && echo $(git diff --relative --diff-filter=ACMRT --name-only HEAD | grep '\.py$' ) + sh: cd {{.ROOT_DIR}} && echo $(git diff --quiet --relative --diff-filter=ACMRT --name-only HEAD | grep '\.py$' ) CHANGED_PYPROJECT_SINGLE_LINE: - sh: cd {{.ROOT_DIR}} && echo $(git diff --relative --diff-filter=ACMRT --name-only HEAD | grep 'pyproject.toml$' ) + sh: cd {{.ROOT_DIR}} && echo $(git diff --quiet --relative --diff-filter=ACMRT --name-only HEAD | grep 'pyproject.toml$' ) DO_RUFF_FIX: "false"