From 816038f2063073d4bd54341da98f3bc89bfe7caa Mon Sep 17 00:00:00 2001 From: Kentaro Wada Date: Mon, 20 Jul 2020 19:34:19 +0100 Subject: [PATCH] Add black to ci.yml --- .github/workflows/ci.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0f145f8..4be2648 100644 --- a/.github/workflows/ci.yml +++ b/.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} -- GitLab