Changed syntax errors #99
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: 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 | |
- name: Code Style Check | |
run: flake8 . --count --max-line-length=99 --ignore E221,E226,E228,E241 --show-source --statistics --exclude external |