1
0
Fork 0
mirror of https://github.com/dbarzin/pandora-box.git synced 2025-08-04 13:25:27 +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: on: [push, pull_request]
push:
branches:
- main
pull_request:
branches: [main]
jobs: jobs:
flake8-lint:
qa:
name: Quality check
runs-on: ubuntu-latest runs-on: ubuntu-latest
name: Lint
steps: steps:
- name: Checkout - name: Check out source repository
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Set up Python environment
- name: Set up Python
uses: actions/setup-python@v4 uses: actions/setup-python@v4
with:
- name: code quality checkout python-version: "3.11"
run: | - name: flake8 Lint
pip install pyudev psutil pypandora uses: py-actions/flake8@v2
pip install pylint with:
pylint ./pandora-box.py exclude: "test/*"
max-line-length: "128"
path: "."
plugins: "flake8-bugbear==22.1.11 flake8-black"