Bumbed dmci to main branch #4
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@v5 | |
with: | |
python-version: '3.10' | |
architecture: x64 | |
- name: Checkout Source | |
uses: actions/checkout@v4 | |
- 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,W504 --show-source --statistics --exclude external |