Skip to content

Bump the actions group with 4 updates #155

Bump the actions group with 4 updates

Bump the actions group with 4 updates #155

Workflow file for this run

name: lint
on: [push, pull_request]
jobs:
flake8-black:
runs-on: ubuntu-latest
name: flake8-black
steps:
- uses: actions/checkout@v4
- name: Set up Python environment
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Lint with flake8
run: |
pip install flake8
# stop the build if there are Python syntax errors or undefined names
flake8 python --ignore C812,C815,D101,E203,N803,N806,W503 --max-line-length 88 --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings.
flake8 python --ignore C812,C815,D101,E203,N803,N806,W503 --max-line-length 88 --count --exit-zero --max-complexity=10 --statistics
- name: Check formatting with black
run: |
pip install black
black --check --diff python