Ver código fonte

Add --diff to black command in GitHub Action

Kentaro Wada 4 anos atrás
pai
commit
49b1f8f61f
1 arquivos alterados com 1 adições e 1 exclusões
  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}