Skip to content

pylint

pylint #125

Workflow file for this run

name: pylint
on: [push, pull_request]
permissions:
contents: read
jobs:
pylint:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v4
- name: set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install --requirement requirements.txt
python -m pip install psutil pylint pytest pytest_schema
- name: analysing the code with pylint
run: |
# shellcheck disable=SC2046
pylint $(git ls-files '*.py' ':!:docs/source/*')