0.5.11 #855
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v2 | |
- name: pip install formatters | |
run: | | |
pip3 install black==22.6.0 | |
pip3 install isort | |
pip3 install flake8 | |
- name: check by black | |
run: | | |
black --version | |
black --check . | |
- name: check by isort | |
run: | | |
isort --version-number | |
isort --check-only --quiet . | |
- name: check by flake8 | |
run: | | |
flake8 --version | |
flake8 . |