mirror of
https://github.com/UiO-Gaming/mustafa.git
synced 2026-11-05 13:56:48 +01:00
created flake8 python linting workflow
This commit is contained in:
1 file changed
+21
@@ -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
|
||||
Reference in new issue
Block a user