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