From ab9d5cbe6ee8801a27b650d674db5a7e7ddd64d3 Mon Sep 17 00:00:00 2001 From: krishnaglodha Date: Tue, 3 Sep 2024 20:59:40 +0530 Subject: [PATCH] testing with black and isort marketplace options --- .github/workflows/test.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index bfb73ae..1a22937 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -53,13 +53,10 @@ jobs: run: poetry run pytest - name: Run black - run: black . --check + uses: psf/black@stable - name: Run isort - run: isort . --check-only - - - name: Run ruff - run: ruff check . --fix + uses: isort/isort-action@v1 - name: Commit changes if any run: | @@ -68,4 +65,4 @@ jobs: git add . git commit -m "Apply formatting and linting fixes" || echo "No changes to commit" git push || echo "No changes to push" - if: success() && steps.run_black.outcome == 'success' && steps.run_isort.outcome == 'success' && steps.run_ruff.outcome == 'success' \ No newline at end of file + if: success() && steps.run_black.outcome == 'success' && steps.run_isort.outcome == 'success' \ No newline at end of file