Introduce lint pipeline and fix some minor issues flake8 complained about

This commit is contained in:
henryruhs
2023-05-31 10:32:40 +02:00
parent 4867f356ef
commit 7abb42724e
6 changed files with 25 additions and 9 deletions

16
.github/workflows/ci.yml vendored Normal file
View File

@@ -0,0 +1,16 @@
name: ci
on: [ push, pull_request ]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- run: pip install flake8
- run: flake8 run.py core