Skip to content

Commit

Permalink
Show ruff format diff
Browse files Browse the repository at this point in the history
  • Loading branch information
francois-rozet committed Feb 27, 2024
1 parent 17a7d27 commit 3a7e040
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 @@ -16,4 +16,4 @@ jobs:
- name: Run formatter
uses: chartboost/ruff-action@v1
with:
args: format --check
args: format --diff
2 changes: 1 addition & 1 deletion pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ repos:
hooks:
- id: ruff
- id: ruff-format
args: [--check]
args: [--diff]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
hooks:
Expand Down

0 comments on commit 3a7e040

Please sign in to comment.