Skip to content

feat: add some error catching / ignoring #18

feat: add some error catching / ignoring

feat: add some error catching / ignoring #18

Workflow file for this run

name: Pylint
on: [push]
jobs:
lint-analysis:
runs-on: ubuntu-latest
strategy:
matrix:
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
pip install -r requirements.txt || echo "No requirements.txt found, skipping dependencies installation"
- name: Install Pylint
run: |
pip install pylint
- name: Analyse the code with Pylint
run: |
pylint $(git ls-files '*.py')