From 3406100d08e3267cf80bdb34fc6c3a76d788b293 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Fri, 12 Jul 2024 07:07:51 +0200 Subject: [PATCH] lint_python.yml: ruff check --output-format=full --- .github/workflows/lint_python.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/lint_python.yml b/.github/workflows/lint_python.yml index db143c73..37f4d8eb 100644 --- a/.github/workflows/lint_python.yml +++ b/.github/workflows/lint_python.yml @@ -9,11 +9,11 @@ jobs: with: {python-version: 3.x} - run: pip install --upgrade pip ruff setuptools wheel - name: "Ruff: Show stopper (must-fix) issues" - run: ruff . --select=E9,F63,F7,F82,PLE,YTT --show-source . + run: ruff check --select=E9,F63,F7,F82,PLE,YTT --output-format=full . - name: "Ruff: All issues" - run: ruff --exit-zero --select=ALL --statistics --target-version=py37 . + run: ruff check --exit-zero --select=ALL --statistics --target-version=py37 . - name: "Ruff: All fixable (ruff --fix) issues" - run: ruff --exit-zero --select=ALL --ignore=ANN204,COM812,ERA001,RSE102,RUF001 + run: ruff check --exit-zero --select=ALL --ignore=ANN204,COM812,ERA001,RSE102,RUF001 --statistics --target-version=py37 . | grep "\[\*\]" - run: pip install black codespell mypy pytest safety - run: black --check . || true