From 9017468e07daca27f387b7b8dcc5aba8282a896c Mon Sep 17 00:00:00 2001 From: Janne Sinivirta Date: Sun, 12 Jan 2025 11:45:36 +0200 Subject: [PATCH] run ruff in github actions --- .github/workflows/main.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c3437a4..3c0d07c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -32,13 +32,11 @@ jobs: run: | poetry install - - name: Lint with flake8, black, isort and mypy + - name: Lint with Ruff and Mypy run: | - poetry run isort --check . - poetry run black --check . - poetry run flake8 . + poetry run ruff check --output-format=github . + poetry run ruff format --diff poetry run mypy . - poetry run pydocstyle daffy/ - name: Test with pytest run: |