浏览代码

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}