Fix GRASS version bug #44
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 code quality check | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
flake8-actinia: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.8 | |
- name: Install | |
run: | | |
python -m pip install --upgrade pip | |
pip install flake8==3.8.0 | |
# enables config via pyproject.toml | |
pip install pyproject-flake8 | |
- name: Run Flake8 | |
run: | | |
pflake8 --count --statistics --show-source --jobs=$(nproc) . |