Explorar el Código

Add --diff to black command in GitHub Action

Kentaro Wada hace 4 años
padre
commit
49b1f8f61f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      .github/workflows/ci.yml

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

@@ -93,7 +93,7 @@ jobs:
       if: matrix.os != 'windows-latest' && matrix.python-version != '2.7'
       run: |
         pip install black
-        black --line-length 79 --check labelme
+        black --line-length 79 --check --diff labelme
 
     - name: Test with pytest
       shell: bash -l {0}