Update README.md #111
Workflow file for this run
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: Style | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: [opened, synchronize, reopened, ready_for_review] | |
branches: | |
- '**' | |
jobs: | |
build-and-test: | |
name: style | |
runs-on: ubuntu-latest | |
if: github.event.pull_request.draft == false | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Configure Python | |
uses: actions/setup-python@v1 | |
- name: Install flake8 | |
run: | | |
python --version | |
python -m pip install --upgrade pip setuptools wheel | |
python -m pip install flake8 | |
- name: Run style checking | |
run: | | |
python -m flake8 --version | |
python -m flake8 |