Skip to content

Commit 2b7a3f3

Browse files
authored
CI: Run ruff format with file fixes for PR suggestions (OSGeo#5074)
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
1 parent 6a89b65 commit 2b7a3f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/python-code-quality.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
- name: Run `ruff format` fixing files
7878
# Run `ruff format` even when `ruff check` fixed files: fixes can require formatting
7979
if: ${{ !cancelled() }}
80-
run: ruff format --diff
80+
run: ruff format
8181
- name: Create and uploads code suggestions to apply for Ruff
8282
# Will fail fast here if there are changes required
8383
id: diff-ruff

0 commit comments

Comments
 (0)