Skip to content

Commit 418e3e5

Browse files
committed
Show diffs of failed formatter checks in logs.
1 parent adb3999 commit 418e3e5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/python-lint.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,12 @@ jobs:
4343
uses: liskin/gh-problem-matcher-wrap@v1
4444
with:
4545
linters: isort
46-
run: isort scripts/ tcod/ tests/ --check
46+
run: isort scripts/ tcod/ tests/ --check --diff
4747
- name: isort (examples)
4848
uses: liskin/gh-problem-matcher-wrap@v1
4949
with:
5050
linters: isort
51-
run: isort examples/ --check --thirdparty tcod
51+
run: isort examples/ --check --diff --thirdparty tcod
5252
- name: Black
5353
run: |
54-
black --check examples/ scripts/ tcod/ tests/ *.py
54+
black --check --diff examples/ scripts/ tcod/ tests/ *.py

0 commit comments

Comments
 (0)