Create flake8.yml

This commit is contained in:
Rebecca 2021-03-24 19:37:54 +01:00 committed by GitHub
parent 09b94d062c
commit 48e087997a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

22
.github/workflows/flake8.yml vendored Normal file
View file

@ -0,0 +1,22 @@
name: flake8
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install flake8
- name: Analysing the code with flake8
run: |
flake8 .