From faa059f706a26f5ff5767775b3742ac1b4a799ff Mon Sep 17 00:00:00 2001 From: kedhammar Date: Thu, 30 Nov 2023 13:00:39 +0100 Subject: [PATCH] try hinting solutions to failed lints --- .github/workflows/lint-code.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/lint-code.yml b/.github/workflows/lint-code.yml index 510bedc6..b738f24b 100644 --- a/.github/workflows/lint-code.yml +++ b/.github/workflows/lint-code.yml @@ -31,7 +31,9 @@ jobs: python -m pip install --upgrade pip pip install isort - name: isort --> Check for best-practice sorting of imports - run: isort --check . + run: | + msg="Please run 'isort .' on this repo." + isort --check . || echo "::error ::$msg" && exit 1 ruff-format: runs-on: ubuntu-latest