From cad422902a1c44031d42f8512b55fcb8c84eebb4 Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Thu, 31 Oct 2024 10:51:00 +0200 Subject: [PATCH] github: Add ruff to ci.yml Signed-off-by: Tomi Valkeinen --- .github/workflows/ci.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 02589e4..c2984b2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,15 +22,16 @@ jobs: run: | python -m pip install --upgrade pip pip install -r requirements.txt - pip install pylint + pip install pylint ruff - name: Test with unittest - run: | - python3 -m unittest discover -v tests/ + run: python3 -m unittest discover -v tests/ - name: Analysing the code with Pyright uses: jakebailey/pyright-action@v2 - name: Analysing the code with pylint - run: | - pylint $(git ls-files '*.py') + run: pylint $(git ls-files '*.py') + + - name: Analysing the code with Ruff + run: ruff check --output-format=github .