Просмотр исходного кода

linting: output diffs from black

Just the message from --check is not enough to locate the problem manually.
Output the diffs for PR submissions where the submitter may not necessarily
have black installed.
Jason Rumney 2 лет назад
Родитель
Сommit
80b0ea4bff
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      .github/workflows/linting.yml

+ 1 - 1
.github/workflows/linting.yml

@@ -20,4 +20,4 @@ jobs:
       - name: isort
         run: isort --recursive --diff .
       - name: Black
-        run: black --check .
+        run: black --check --diff .