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

add mypy template ci

parent 65e4597c
No related branches found
No related tags found
No related merge requests found
......@@ -6,6 +6,7 @@ include:
- local: 'templates/python/code_quality/flake8/flake8.yml'
- local: 'templates/python/code_quality/black/black.yml'
- local: 'templates/python/code_quality/isort/isort.yml'
- local: 'templates/python/code_quality/mypy/mypy.yml'
pytest:
stage: templates
......@@ -29,6 +30,18 @@ flake8:
- templates/python/code_quality/flake8/**/*
- tests/flake8_project/**/*
flake8-pluggin:
stage: templates
variables:
PROJECT_PATH: "tests/flake8_project"
PYTHON_SETUP: "pip install flake8 flake8-bugbear"
only:
changes:
- .gitlab-ci.yml
- pyproject.toml
- templates/python/code_quality/flake8/**/*
- tests/flake8_project/**/*
black:
stage: templates
variables:
......@@ -51,3 +64,14 @@ isort:
- pyproject.toml
- templates/python/code_quality/isort/**/*
- tests/isort_project/**/*
mypy:
stage: templates
variables:
PROJECT_PATH: "tests/mypy_project"
only:
changes:
- .gitlab-ci.yml
- pyproject.toml
- templates/python/code_quality/mypy/**/*
- tests/mypy_project/**/*
......@@ -12,3 +12,9 @@ authors = [
{ name = "Dorian Turba", email = "author.name@example.com" },
]
description = "A description of what the package is for."
dependencies = [
"black_project @ {root:uri}/tests/black_project",
"flake8_project @ {root:uri}/tests/flake8_project",
"isort_project @ {root:uri}/tests/isort_project",
"pytest_project @ {root:uri}/tests/pytest_project",
]
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