Skip to content

Merge pull request #44 from patroqueeet/hotfix/pylint #72

Merge pull request #44 from patroqueeet/hotfix/pylint

Merge pull request #44 from patroqueeet/hotfix/pylint #72

Workflow file for this run

name: Pylint
on: [push]
jobs:
lint:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11","3.12"]
django-version: ["3.2.9","4.1","5.1"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pylint
python -m pip install setuptools pylint
python -m pip install . "Django~=${{ matrix.django-version }}"
- name: Analysing the code with pylint
run: |
pylint --rcfile=.pylintrc $(git ls-files '*.py')