Skip to content

Commit

Permalink
CI: Run ruff format with file fixes for PR suggestions (#5074)
Browse files Browse the repository at this point in the history
It seems there was a copy-paste error, it didn't even match my comments and the title of the step, where the first run showing the diff in the CI logs was also the same call as the one that was supposed to actually change the files in order to upload the suggestions for formatting fixes too
  • Loading branch information
echoix authored Feb 9, 2025
1 parent 6a89b65 commit 2b7a3f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/python-code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
- name: Run `ruff format` fixing files
# Run `ruff format` even when `ruff check` fixed files: fixes can require formatting
if: ${{ !cancelled() }}
run: ruff format --diff
run: ruff format
- name: Create and uploads code suggestions to apply for Ruff
# Will fail fast here if there are changes required
id: diff-ruff
Expand Down

0 comments on commit 2b7a3f3

Please sign in to comment.