Explorar o código

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 %!s(int64=3) %!d(string=hai) anos
pai
achega
80b0ea4bff
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 .