Merge submodule #2
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: pull_request | |
jobs: | |
flake8: | |
name: Check code with Flake8 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: Setup environment | |
run: | | |
python -m pip install --upgrade pip | |
pip install flake8 | |
- name: Run Flake8 | |
# run: flake8 . --ignore=E266,E261,E265,W503 --max-line-length=120 --count | |
run: flake8 . --ignore=E266,E261,E265,W503 --max-line-length=120 --count # only do postprocessing code |