Browse Source

Add black to ci.yml

Kentaro Wada 4 years ago
parent
commit
816038f206
1 changed files with 6 additions and 6 deletions
  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}