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 391018e4 authored by Dorian Turba's avatar Dorian Turba
Browse files

update mypy to use python_install

parent 6634f7f6
No related branches found
No related tags found
No related merge requests found
Pipeline #22164 failed
include:
- remote: 'https://api.r2devops.io/job/r/gitlab/dorianturba/r2devops_catalog/python_install@latest.yaml'
mypy:
image: python:latest
extends:
- .python_install
stage: code_quality
variables:
PYTHON_SETUP: "pip install mypy"
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
- pip install mypy
- !reference [.python_install, script]
- mypy ${PROJECT_PATH}
only:
changes:
- ./**/*.py
- ${PROJECT_PATH}/**/*.py
- .gitlab-ci.yml
- pyproject.toml
- ${PROJECT_PATH}/pyproject.toml
- ${PROJECT_PATH}/mypy.ini
- ${PROJECT_PATH}/.mypy.ini
- ${PROJECT_PATH}/setup.cfg
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