Pārlūkot izejas kodu

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 gadi atpakaļ
vecāks
revīzija
80b0ea4bff
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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 .