From b6fe800e639da2a822e7f167ca5f1c655fb5157c Mon Sep 17 00:00:00 2001 From: Jirka Date: Tue, 20 Feb 2024 17:06:13 +0100 Subject: [PATCH] ruff --- .github/workflows/lints.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/lints.yml b/.github/workflows/lints.yml index 164f37f50b..57a0a1ee08 100644 --- a/.github/workflows/lints.yml +++ b/.github/workflows/lints.yml @@ -16,9 +16,11 @@ jobs: run: pip install "ruff==0.2.2" "docformatter[tomli]==1.5.0" - name: Ruff (Flake8) if: matrix.check == 'ruff' - working-directory: src/ - run: ruff check --show-fixes --exit-non-zero-on-fix gluonts + uses: chartboost/ruff-action@v1 + with: + src: "./src" + version: 0.2.2 - name: Docformatter if: matrix.check == 'docformatter' working-directory: src/ - run: docformatter --check -r gluonts + run: docformatter --check -r .