mirror of
https://github.com/dbarzin/pandora-box.git
synced 2025-08-11 00:35:16 +02:00
work on code quality
This commit is contained in:
parent
e8f4256913
commit
5e23e53c84
3 changed files with 156 additions and 76 deletions
20
.github/workflows/ci.yml
vendored
20
.github/workflows/ci.yml
vendored
|
@ -1,21 +1,25 @@
|
|||
name: flake8 Lint
|
||||
name: pylint Lint
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
flake8-lint:
|
||||
pylint-lint:
|
||||
runs-on: ubuntu-latest
|
||||
name: Lint
|
||||
steps:
|
||||
- name: Check out source repository
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Set up Python environment
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: "3.11"
|
||||
- name: flake8 Lint
|
||||
uses: py-actions/flake8@v2
|
||||
with:
|
||||
max-line-length: "128"
|
||||
path: "."
|
||||
plugins: "flake8-bugbear"
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install pylint
|
||||
|
||||
- name: Run pylint
|
||||
run: |
|
||||
pylint . --exit-zero
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue