From 9d4a76160f60572b6ebabac20f5e70860cf1480f Mon Sep 17 00:00:00 2001 From: Ivan Yordanov Date: Wed, 27 Sep 2023 02:21:09 +0300 Subject: [PATCH] ci: update workflow --- .github/workflows/ci.yaml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index baa091133..df10833f5 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -35,11 +35,8 @@ jobs: - name: Install dependencies run: poetry install --no-interaction - - name: Lint (flake8) - run: poetry run pre-commit run flake8 --all-files --show-diff-on-failure - - - name: Order of imports (isort) - run: poetry run pre-commit run isort --all-files --show-diff-on-failure + - name: Lint (ruff) + run: poetry run pre-commit run ruff --all-files --show-diff-on-failure - name: Formatting (black) run: poetry run pre-commit run black --all-files --show-diff-on-failure @@ -59,11 +56,6 @@ jobs: - name: Generate pipeline definitions run: poetry run pre-commit run gen-docs-components --all-files --show-diff-on-failure - # TODO: enable when PEP 604 incompatibilty is in typer is resolved https://github.com/tiangolo/typer/issues/348 - # See https://github.com/tiangolo/typer/pull/522 - # - name: Syntax (pyupgrade) - # run: poetry run pre-commit run --hook-stage manual pyupgrade --all-files - - name: Test run: poetry run pytest tests