Skip to content

update

update #198

Workflow file for this run

name: flake8
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
checkSyntax:
runs-on: ubuntu-latest
steps:
- name: Python Setup
uses: actions/setup-python@v1
with:
python-version: 3.9
architecture: x64
- name: Checkout Source
uses: actions/checkout@v2
- name: Install flake8
run: pip install flake8
- name: Syntax Error Check
run: flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics --exclude external --exit-zero
- name: Code Style Check
run: flake8 . --count --max-line-length=120 --ignore E221,E226,E228,E241 --show-source --statistics --exclude external --exit-zero