Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit 858a3a41 authored by Dorian Turba's avatar Dorian Turba
Browse files

test flake8 with python_install script

parent e5de99b2
No related branches found
No related tags found
No related merge requests found
Pipeline #22048 failed
stages:
- code_quality
include:
- remote: 'https://api.r2devops.io/job/r/gitlab/dorianturba/r2devops_catalog/python_install@0.1.0.yaml'
flake8:
image: python:${IMAGE_TAG}
stage: code_quality
......@@ -6,13 +12,10 @@ flake8:
PROJECT_PATH: "."
PYTHON_SETUP: "pip install ${PROJECT_PATH}[CODE_QUALITY]"
script:
- python --version # Debug
- python -m venv venv --upgrade-deps || python -m venv venv # upgrade-deps is not supported before 3.9
- source venv/bin/activate
- ${PYTHON_SETUP}
*python_install
- flake8 ${PROJECT_PATH} -v
only:
changes:
- ./**/*.py
- ${PROJECT_PATH}/**/*.py
- .gitlab-ci.yml
- pyproject.toml
- ${PROJECT_PATH}/pyproject.toml
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment