16 lines
362 B
YAML
16 lines
362 B
YAML
|
stages:
|
||
|
- quality assurance
|
||
|
|
||
|
pylint:
|
||
|
stage: quality assurance
|
||
|
image: python:3.11.4-buster
|
||
|
before_script:
|
||
|
- cd backend
|
||
|
- python -m venv .venv
|
||
|
- source .venv/bin/activate
|
||
|
- echo "venv '$VIRTUAL_ENV'"
|
||
|
- pip install -r requirements.txt
|
||
|
- python --version
|
||
|
- python -m pip list --format=columns
|
||
|
script:
|
||
|
- pylint src/* --fail-under 9
|