Skip to content

Commit

Permalink
display diff on ruff formatting failure
Browse files Browse the repository at this point in the history
  • Loading branch information
Athesdrake committed Sep 22, 2024
1 parent e93b8df commit 240891d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ jobs:
- name: Lint with ruff
run: ruff check
- name: Format with ruff
run: ruff format --check
run: ruff format --diff
2 changes: 1 addition & 1 deletion .github/workflows/pythonpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Lint with ruff
run: ruff check
- name: Format with ruff
run: ruff format --check
run: ruff format --diff
deploy:
needs: lint
runs-on: ubuntu-latest
Expand Down

0 comments on commit 240891d

Please sign in to comment.