Skip to content

Commit

Permalink
Update ci.yml (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shota Ray Imaki authored Apr 7, 2021
1 parent 44b26b1 commit 0132482
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,22 +76,13 @@ jobs:
python-version: ${{ matrix.python-version }}

- name: Install linter
run: |
python3 -m pip install --upgrade pip
python3 -m pip install flake8 black isort
if: always()

- name: Run flake8
run: |
python3 -m flake8 ${PROJECT_NAME}
run: python3 -m pip install black isort
if: always()

- name: Run black
run: |
python3 -m black --check ${PROJECT_NAME}
run: python3 -m black --check ${PROJECT_NAME}
if: always()

- name: Run isort
run: |
python3 -m isort --check --force-single-line-imports ${PROJECT_NAME}
run: python3 -m isort --check --force-single-line-imports ${PROJECT_NAME}
if: always()

0 comments on commit 0132482

Please sign in to comment.