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

fix mypy template

parent 0841aef1
No related branches found
No related tags found
No related merge requests found
Pipeline #22117 passed
...@@ -17,4 +17,5 @@ dependencies = [ ...@@ -17,4 +17,5 @@ dependencies = [
"flake8_project @ {root:uri}/tests/flake8_project", "flake8_project @ {root:uri}/tests/flake8_project",
"isort_project @ {root:uri}/tests/isort_project", "isort_project @ {root:uri}/tests/isort_project",
"pytest_project @ {root:uri}/tests/pytest_project", "pytest_project @ {root:uri}/tests/pytest_project",
"mypy_project @ {root:uri}/tests/mypy_project",
] ]
...@@ -6,7 +6,7 @@ mypy: ...@@ -6,7 +6,7 @@ mypy:
- python -m venv venv --upgrade-deps || python -m venv venv # upgrade-deps is not supported before 3.9 - python -m venv venv --upgrade-deps || python -m venv venv # upgrade-deps is not supported before 3.9
- source venv/bin/activate - source venv/bin/activate
- pip install mypy - pip install mypy
- mypy - mypy ${PROJECT_PATH}
only: only:
changes: changes:
- ./**/*.py - ./**/*.py
......
...@@ -9,3 +9,11 @@ authors = [ ...@@ -9,3 +9,11 @@ authors = [
{ name = "Author Name", email = "author.name@example.com" }, { name = "Author Name", email = "author.name@example.com" },
] ]
description = "A description of what the package is for." description = "A description of what the package is for."
dependencies = [
"mypy",
]
[tool.mypy]
packages = "mypy_project"
python_version = "3.11"
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