Skip to content

flake8

flake8 #75

Workflow file for this run

name: flake8
on:
schedule:
# flake8 regulary has breaking changes,
# so we re-check regulary as well.
- cron: '0 9 * * 1'
push:
pull_request:
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Python 3.7
uses: actions/setup-python@v1
with:
python-version: 3.7
- name: Update pip and install flake8
run: |
python -m pip install --upgrade pip
pip install flake8 flake8-docstrings
echo '##[add-matcher]'$PWD/.github/python.json
- name: Lint with flake8
run: |
flake8 .