Skip to content

pylint

pylint #38

Workflow file for this run

name: Pylint
on: [push]
jobs:
lint-analysis:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
python-version: ["3.9", "3.11"]
steps:
- name: Check out the code
uses: actions/checkout@v4
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y portaudio19-dev
- 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
if [ -f requirements.txt ]; then
python -m pip install --upgrade pip
pip install -r requirements.txt
else
echo "No requirements.txt found, skipping dependencies installation"
fi
- name: Analyse the code with Pylint
run: |
pylint verbatim $(git ls-files 'tests/*.py')