From b23bb27ee97e41c3fd195fd387ee6b16df6f094d Mon Sep 17 00:00:00 2001 From: Evgeny Prilepin Date: Mon, 18 Dec 2023 00:38:15 +0000 Subject: [PATCH] Add isort linter to CI --- .github/workflows/main.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 143ed12..fbe9ce1 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -44,8 +44,10 @@ jobs: - name: Install the project dependencies run: poetry install - - name: Run static analysis with ruff - run: poetry run ruff check . + - name: Run static analysis and linters + run: | + poetry run ruff check . + poetry run isort -c . - name: Run tests run: poetry run pytest -v --color=yes --cov=csaps --cov-report=term --cov-report=lcov:coverage.info