Переглянути джерело

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 роки тому
батько
коміт
80b0ea4bff
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      .github/workflows/linting.yml

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

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