Skip to content

chore: add pylint/black PR check, fix all existing issues #1

chore: add pylint/black PR check, fix all existing issues

chore: add pylint/black PR check, fix all existing issues #1

Workflow file for this run

name: Run PR Tests
on:
pull_request:
branches:
- djo
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.11
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pylint==3.0.3 pylint-django==2.5.5
- name: Run pylint and black
run: |
black --check LedenAdministratie
DJANGO_SETTINGS_MODULE="LedenAdministratie.settings" pylint --load-plugins=pylint_django LedenAdministratie