소스 검색

Add black to ci.yml

Kentaro Wada 4 년 전
부모
커밋
816038f206
1개의 변경된 파일6개의 추가작업 그리고 6개의 파일을 삭제
  1. 6 6
      .github/workflows/ci.yml

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

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