Migrate setuptools configuration inside pyproject.toml (#198) #3
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: Python Flake8 Code Quality | |
on: | |
- push | |
- pull_request | |
- fork | |
jobs: | |
flake8: | |
name: ${{ matrix.directory }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.8 | |
- name: Install | |
run: | | |
python -m pip install --upgrade pip | |
pip install flake8==3.8.4 | |
- name: Run Flake8 | |
run: | | |
flake8 --count --statistics --show-source --jobs=$(nproc) . |