Cleaning up the Flake8 workflow (#3283)

This commit is contained in:
Kowlin 2020-01-08 18:24:27 +01:00 committed by Michael H
parent 96e9e55642
commit f5949f2664

View File

@ -1,7 +1,9 @@
name: lint_python name: Lint Python
on: [push, pull_request] on: [push, pull_request]
jobs: jobs:
lint_python: lint_python:
name: Lint Python
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v1 - uses: actions/checkout@v1
@ -9,4 +11,6 @@ jobs:
with: with:
python_version: "3.8" python_version: "3.8"
- run: "python -m pip install flake8" - run: "python -m pip install flake8"
name: Install Flake8
- run: "python -m flake8 . --count --select=E9,F7,F82 --show-source" - run: "python -m flake8 . --count --select=E9,F7,F82 --show-source"
name: Flake8 Linting