1
0
Fork 0
mirror of https://github.com/dbarzin/pandora-box.git synced 2025-08-02 20:35:26 +02:00
This commit is contained in:
Didier Barzin 2023-02-25 11:17:41 +01:00 committed by GitHub
parent a30160cb77
commit 0250164f01
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,27 +1,23 @@
name: Continuous Integration
name: flake8 Lint
on:
push:
branches:
- main
pull_request:
branches: [main]
on: [push, pull_request]
jobs:
qa:
name: Quality check
runs-on: ubuntu-latest
flake8-lint:
runs-on: ubuntu-latest
name: Lint
steps:
- name: Checkout
- name: Check out source repository
uses: actions/checkout@v3
- name: Set up Python
- name: Set up Python environment
uses: actions/setup-python@v4
- name: code quality checkout
run: |
pip install pyudev psutil pypandora
pip install pylint
pylint ./pandora-box.py
with:
python-version: "3.11"
- name: flake8 Lint
uses: py-actions/flake8@v2
with:
exclude: "test/*"
max-line-length: "128"
path: "."
plugins: "flake8-bugbear==22.1.11 flake8-black"