mirror of
https://github.com/dbarzin/pandora-box.git
synced 2025-08-04 05:15:26 +02:00
Flake8
This commit is contained in:
parent
a30160cb77
commit
0250164f01
1 changed files with 17 additions and 21 deletions
38
.github/workflows/ci.yml
vendored
38
.github/workflows/ci.yml
vendored
|
@ -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:
|
runs-on: ubuntu-latest
|
||||||
name: Quality check
|
name: Lint
|
||||||
runs-on: ubuntu-latest
|
|
||||||
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"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue