소스 검색

Add --diff to black command in GitHub Action

Kentaro Wada 4 년 전
부모
커밋
49b1f8f61f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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}