Skip to content

Commit

Permalink
testing with black and isort marketplace options
Browse files Browse the repository at this point in the history
  • Loading branch information
krishnaglodha committed Sep 3, 2024
1 parent 6758f8b commit ab9d5cb
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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'
if: success() && steps.run_black.outcome == 'success' && steps.run_isort.outcome == 'success'

0 comments on commit ab9d5cb

Please sign in to comment.