qrm2/.github/workflows/linting.yml

23 lines
532 B
YAML
Raw Normal View History

2019-10-18 16:03:19 -04:00
name: Linting
on:
push:
branches:
- master
pull_request:
jobs:
flake8:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: "3.9"
architecture: x64
- name: Install flake8
run: pip install flake8
- name: Run flake8
run: flake8 --format='::error title=flake8,file=%(path)s,line=%(row)d,col=%(col)d::[%(code)s] %(text)s'