flake8 ci added

This commit is contained in:
Fabian Joswig 2021-10-11 13:41:56 +01:00
parent d4eaf3f48a
commit 3cbc455d10

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

@ -0,0 +1,21 @@
name: flake8 Lint
on: [push, pull_request]
jobs:
flake8-lint:
runs-on: ubuntu-latest
name: Lint
steps:
- name: Check out source repository
uses: actions/checkout@v2
- name: Set up Python environment
uses: actions/setup-python@v1
with:
python-version: "3.8"
- name: flake8 Lint
uses: py-actions/flake8@v1
with:
ignore: "E501"
exclude: "pyerrors/__init__.py"
path: "pyerrors"