created flake8 python linting workflow

This commit is contained in:
LBlend committed 2021-03-18 03:23:41 +01:00
1 parent 2939850377
commit dca2e2701b
1 file changed
+21
+21
View File
@@ -0,0 +1,21 @@
name: Python Linting
on: [push]
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install -U pip
pip install -r requirements.txt
- name: Flake8 Lint
run: |
pip install flake8
flake8 --max-line-length=120 --show-source